【问题标题】:Is there any way to only import the MNIST images with 0's and 1's?有没有办法只导入带有 0 和 1 的 MNIST 图像?
【发布时间】:2017-07-16 10:52:04
【问题描述】:

我刚开始使用 tensorflow,我只想在 MNIST 图像中的 0 和 1 上测试一些东西。有没有办法只导入这些图像?

【问题讨论】:

    标签: tensorflow python-3.5 mnist


    【解决方案1】:

    假设你正在使用

    from tensorflow.examples.tutorials.mnist import input_data

    不,该文件中没有函数或参数...您可以做的是加载所有数据,并仅选择 1 和 0。

    【讨论】:

    • 抱歉,不清楚,但是是的,我正在使用那条线。
    猜你喜欢
    • 2017-11-28
    • 2019-09-27
    • 2020-02-07
    • 2018-12-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-18
    相关资源
    最近更新 更多