0
運行TensorFlow official CNN example時發生錯誤。運行TensorFlow官方CNN示例錯誤:ImportError:無法導入名稱'cifar10'
$ python cifar10_train.py
Traceback (most recent call last):
File "cifar10_train.py", line 44, in <module>
from tensorflow.models.image.cifar10 import cifar10
ImportError: cannot import name 'cifar10'
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cublas64_80.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cudnn64_5.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library cufft64_80.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library nvcuda.dll locally
I c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stream_executor\dso_loader.cc:135] successfully opened CUDA library curand64_80.dll locally
我從Github
tensorflow
下載zip文件,並在tensorflow/tensorflow/models/image/cifar10
運行python cifar10_train.py
。