有没有办法只导入带有 0 和 1 的 MNIST 图像?
Is there any way to only import the MNIST images with 0's and 1's?
我刚开始使用 tensorflow,我只想在 MNIST 图像的 0 和 1 上测试一些东西。有没有办法只导入这些图像?
假设您正在使用
from tensorflow.examples.tutorials.mnist import input_data
不,该文件中没有函数或参数...您可以做的是加载所有数据,select 仅加载 1 和 0。
我刚开始使用 tensorflow,我只想在 MNIST 图像的 0 和 1 上测试一些东西。有没有办法只导入这些图像?
假设您正在使用
from tensorflow.examples.tutorials.mnist import input_data
不,该文件中没有函数或参数...您可以做的是加载所有数据,select 仅加载 1 和 0。