我正在尝试使用tensorflows模型库的官方mnist目录中的网络.在我的Windows系统上,我收到此错误:
C:\Users\ry\Desktop\NNTesting\models\official\mnist>mnist_test.py
Traceback (most recent call last):
File "C:\Users\ry\Desktop\NNTesting\models\official\mnist\mnist_test.py",line 24, in <module>
from official.mnist import mnist
ModuleNotFoundError: No module named 'official'
Run Code Online (Sandbox Code Playgroud)
我已经按照他们的官方指示使用了我的python路径
set PYTHONPATH="PYTHONPATH:"%cd%"
Run Code Online (Sandbox Code Playgroud)
并且可以确认
PYTHONPATH="$PYTHONPATH:C:\Users\ry\Desktop\NNTesting\models"
Run Code Online (Sandbox Code Playgroud)
我也成功安装了依赖项.有没有人在Windows系统上使用这些模型的经验,可以帮助我解决这个问题?我不确定我在这里做错了什么.
谢谢