Home > other >  Under Windows using tensorflow mnist data loading, the from tensorflow. Contrib. Keras. API. Keras.
Under Windows using tensorflow mnist data loading, the from tensorflow. Contrib. Keras. API. Keras.

Time:04-22

Complete error:
Traceback (the most recent call last) :
The File "D:/Practice/PythonProject/tensorflow/C3/ClassificationDemo py", line 2, the in & lt; module>
The from tensorflow. Examples. Tutorials. Mnist import input_data
The File "D: \ softwareLoad \ AnacondaV34 \ lib \ site - packages \ tensorflow \ examples, tutorials, mnist, set py", line 21, in & lt; module>
The from tensorflow. Examples. Tutorials. Mnist import input_data
The File "D: \ softwareLoad \ AnacondaV34 \ lib \ site - packages \ tensorflow \ examples \ tutorials \ mnist \ input_data py", line 29, in & lt; module>
The from tensorflow. Contrib. Learn. Python. Learn. Datasets. Mnist import read_data_sets
The File "D: \ \ AnacondaV34 \ lib \ site - packages \ tensorflow \ contrib \ set py", line 38, the in & lt; module>
The from tensorflow. Contrib import keras
The File "D: \ \ AnacondaV34 \ lib \ site - packages \ tensorflow \ contrib \ keras \ set py", line 26, in & lt; module>
The from tensorflow. Contrib. Keras. API. Keras import *
The File "D: \ \ AnacondaV34 \ lib \ site - packages \ tensorflow \ contrib \ keras \ API \ keras \ set py", line 40, in & lt; module>
The from tensorflow. Contrib. Keras. API. Keras import wrappers
The File "D: \ \ AnacondaV34 \ lib \ site - packages \ tensorflow \ contrib \ keras \ API \ keras, wrappers, set py", line 21, in & lt; module>
The from tensorflow. Contrib. Keras. API. Keras. Wrappers import scikit_learn
ImportError: always import a name 'scikit_learn'

The current environment of use:
Windows 10,
Pycharm community edition 2020.2.3
Tensorflow: 1.2.1
Keras: 2.2.2 0
Scikit - learn: 0.17.1

The original code for:

The import tensorflow as tf
The from tensorflow. Examples. Tutorials. Mnist import input_data

Mnist=input_data. Read_data_sets (' MNIST_data, one_hot=True)

In the load data times wrong,
Bosses, please help solve this is why?


  • Related