小编sli*_*ena的帖子

错误:来自tensorflow.examples.tutorials.mnist导入input_data

我的环境如下:

* Windows 7, 64 bit
* Anaconda Navigator 1.8.7
* python 3.6.5
* tensorflow 1.8.0
Run Code Online (Sandbox Code Playgroud)

在python中,我键入:

import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
Run Code Online (Sandbox Code Playgroud)

我得到的错误如下:

>>> from tensorflow.examples.tutorials.mnist import input_data
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "E:\Anaconda3\envs\opencv\lib\site-packages\tensorflow\examples\tutorials\mnist\__init__.py", line 21, in <module>
    from tensorflow.examples.tutorials.mnist import input_data
  File "E:\Anaconda3\envs\opencv\lib\site-packages\tensorflow\examples\tutorials\mnist\input_data.py", line 30, in <module>
    from tensorflow.contrib.learn.python.learn.datasets.mnist import read_data_sets
  File "E:\Anaconda3\envs\opencv\lib\site-packages\tensorflow\contrib\__init__.py", line 34, in <module>
    from tensorflow.contrib import data
  File "E:\Anaconda3\envs\opencv\lib\site-packages\tensorflow\contrib\data\__init__.py", line 67, in <module>
    from tensorflow.contrib.data.python.ops.error_ops …
Run Code Online (Sandbox Code Playgroud)

python mnist tensorflow

5
推荐指数
1
解决办法
4055
查看次数

如何在 ubuntu 18.04 上使用 javaws 运行 CitNetExplorer.jnlp?

在我的 ubuntu 18.04.01 上我尝试输入:

$ javaws CitNetExplorer.jnlp

selected jre: /usr/lib/jvm/default-java
WARNING: package javax.jnlp not in java.desktop
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
This application does not specify a Codebase in its manifest. Please verify with the applet's vendor. Continuing. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
This application does not specify a Codebase in its manifest. Please verify with the applet's vendor. Continuing. See: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
Starting application [nl.citnetexplorer.app.CitNetExplorer] ...
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
    at org.pushingpixels.substance.internal.utils.SubstanceColorUtilities.getDefaultBackgroundColor(SubstanceColorUtilities.java:758) …
Run Code Online (Sandbox Code Playgroud)

java-web-start

5
推荐指数
0
解决办法
578
查看次数

标签 统计

java-web-start ×1

mnist ×1

python ×1

tensorflow ×1