Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行test.py出错 #25

Open
yuhengqi opened this issue Apr 1, 2021 · 1 comment
Open

运行test.py出错 #25

yuhengqi opened this issue Apr 1, 2021 · 1 comment

Comments

@yuhengqi
Copy link

yuhengqi commented Apr 1, 2021

File "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\training\saver.py", line 825, in init
self.build()
File "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\training\saver.py", line 837, in build
self._build(self._filename, build_save=True, build_restore=True)
File "D:\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\training\saver.py", line 862, in _build
raise ValueError("No variables to save")
ValueError: No variables to save

想问一下这是什么原因呢?

@taptapme
Copy link

我直接很多东西都没有定义 应该是包的版本不同 但是作者也没说明是哪个版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants