<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>TensorFlow/Keras on 里列昂遗失的记事本</title><link>https://blog.overfit.org/tags/tensorflow/keras/</link><description>Recent content in TensorFlow/Keras on 里列昂遗失的记事本</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 31 Oct 2021 15:17:00 +0800</lastBuildDate><atom:link href="https://blog.overfit.org/tags/tensorflow/keras/index.xml" rel="self" type="application/rss+xml"/><item><title>TensorFlow数据集项目</title><link>https://blog.overfit.org/posts/2021-10-31-15489652-tensorflow%E6%95%B0%E6%8D%AE%E9%9B%86%E9%A1%B9%E7%9B%AE/</link><pubDate>Sun, 31 Oct 2021 15:17:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-31-15489652-tensorflow%E6%95%B0%E6%8D%AE%E9%9B%86%E9%A1%B9%E7%9B%AE/</guid><description>TensorFlow数据集（TFDS）项目使下载通用数据集变得非常容易，从小型数据集（如MNIST或Fashion MNIST）到大型数据集（如ImageNet）。该列表包括图像数据集、文本数据集（包括翻译数据集）以及音频和视频数据集。 TFDS没有和TensorFlow捆绑在一</description></item><item><title>预处理输入特征</title><link>https://blog.overfit.org/posts/2021-10-29-15482005-%E9%A2%84%E5%A4%84%E7%90%86%E8%BE%93%E5%85%A5%E7%89%B9%E5%BE%81/</link><pubDate>Fri, 29 Oct 2021 19:31:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-29-15482005-%E9%A2%84%E5%A4%84%E7%90%86%E8%BE%93%E5%85%A5%E7%89%B9%E5%BE%81/</guid><description>预处理输入特征 为神经网络准备数据需要将所有特征转换为数值特征，通常将其归一化等。特别是如果数据包含分类特征或文本特征，则需要将它们转换为数字。 在准备数据文件时，可以使用任何喜欢的工具（例如NumPy、pandas或Scikit-Learn）提前完成此操作。或者，可以在使用Da</description></item><item><title>TFRecord格式</title><link>https://blog.overfit.org/posts/2021-10-27-15469681-tfrecord%E6%A0%BC%E5%BC%8F/</link><pubDate>Wed, 27 Oct 2021 11:15:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-27-15469681-tfrecord%E6%A0%BC%E5%BC%8F/</guid><description>TFRecord格式 TFRecord格式是TensorFlow首选的格式，用于储存大量数据并有效读取数据。这是一种非常简单的二进制格式，只包含大小不同的二进制记录序列（每个记录由一个长度、一个用于检查长度是否受损的CRC校验和、实际数据 以及最后一个CRC校验和组成）。可以使用</description></item><item><title>数据API</title><link>https://blog.overfit.org/posts/2021-10-25-15458071-%E6%95%B0%E6%8D%AEapi/</link><pubDate>Mon, 25 Oct 2021 13:20:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-25-15458071-%E6%95%B0%E6%8D%AEapi/</guid><description>数据API 整个数据API都围绕着数据集的概念。通常，使用的是逐步从磁盘中读取数据的数据集，但为了简单起见，使用 tf.data.Dataset.from_tensor_slices()在RAM中完全创建一个数据集合 import keras.activations import</description></item><item><title>TensorFlow函数和图</title><link>https://blog.overfit.org/posts/2021-10-24-15452136-tensorflow%E5%87%BD%E6%95%B0%E5%92%8C%E5%9B%BE/</link><pubDate>Sun, 24 Oct 2021 18:41:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-24-15452136-tensorflow%E5%87%BD%E6%95%B0%E5%92%8C%E5%9B%BE/</guid><description>def cube(x): return x**3 cube(2) 8 import tensorflow as tf cube(tf.constant(2.0)) &amp;lt;tf.Tensor: shape=(), dtype=float32, numpy=8.0&amp;gt; 现在用t</description></item><item><title>像 NumPy 一样使用 TensorFlow</title><link>https://blog.overfit.org/posts/2021-10-09-15387552-%E5%83%8F-numpy-%E4%B8%80%E6%A0%B7%E4%BD%BF%E7%94%A8-tensorflow/</link><pubDate>Sat, 09 Oct 2021 20:46:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-09-15387552-%E5%83%8F-numpy-%E4%B8%80%E6%A0%B7%E4%BD%BF%E7%94%A8-tensorflow/</guid><description>张量和操作 可以使用tf.constant()创建张量 from IPython.core.interactiveshell import InteractiveShell InteractiveShell.ast_node_interactivity=&amp;lsquo;all&amp;rsquo;</description></item><item><title>TensorFlow快速浏览</title><link>https://blog.overfit.org/posts/2021-10-09-15384486-tensorflow%E5%BF%AB%E9%80%9F%E6%B5%8F%E8%A7%88/</link><pubDate>Sat, 09 Oct 2021 10:40:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-10-09-15384486-tensorflow%E5%BF%AB%E9%80%9F%E6%B5%8F%E8%A7%88/</guid><description>Tensorflow快速浏览 高级深度学习API tf.keras tf.estimator 底层深度学习API tf.nn tf.losses tf.metrics tf.optimizers tf.train tf.initializers 自动微分 tf.GradientT</description></item><item><title>重用预训练层</title><link>https://blog.overfit.org/posts/2021-09-28-15349842-%E9%87%8D%E7%94%A8%E9%A2%84%E8%AE%AD%E7%BB%83%E5%B1%82/</link><pubDate>Tue, 28 Sep 2021 20:15:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-09-28-15349842-%E9%87%8D%E7%94%A8%E9%A2%84%E8%AE%AD%E7%BB%83%E5%B1%82/</guid><description>用Keras进行迁移学习 假如Fashion MNIST数据集包含了8个类别，例如，除凉鞋和衬衫之外的所有类别。有人在该数据集上建立并训练的Keras模型，并获得了相当不错的性能（精度&amp;gt;90%）。将此模型称为模型A。现在要处理另一项任务：有凉鞋和衬衫的图像，想要训练一个二元</description></item><item><title>电影评论分类：二分类问题</title><link>https://blog.overfit.org/posts/2021-09-27-15345309-%E7%94%B5%E5%BD%B1%E8%AF%84%E8%AE%BA%E5%88%86%E7%B1%BB%E4%BA%8C%E5%88%86%E7%B1%BB%E9%97%AE%E9%A2%98/</link><pubDate>Mon, 27 Sep 2021 21:15:00 +0800</pubDate><guid>https://blog.overfit.org/posts/2021-09-27-15345309-%E7%94%B5%E5%BD%B1%E8%AF%84%E8%AE%BA%E5%88%86%E7%B1%BB%E4%BA%8C%E5%88%86%E7%B1%BB%E9%97%AE%E9%A2%98/</guid><description>IMDB数据集 它包含来自互联网电影数据库（IMDB）的50000条严重两极分化的评论 数据集被分为用于训练的25000条评论与用于测试的25000条评论 训练集和测试集都包含50%的正面评论和50%的负面评论 加载IMDB数据集 import tensorflow as tf</description></item></channel></rss>