YoYo000 / MVSNet

MVSNet (ECCV2018) & R-MVSNet (CVPR2019)
MIT License
1.41k stars 304 forks source link

test ValueError: No variables to save #155

Open Ttingyyy opened 12 months ago

Ttingyyy commented 12 months ago

Traceback (most recent call last): File "test.py", line 273, in tf.app.run() File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\tensorflow_core\python\platform\app.py", line 40, in run _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef) File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\absl\app.py", line 308, in run _run_main(main, args) File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\absl\app.py", line 254, in _run_main sys.exit(main(argv)) File "test.py", line 268, in main mvsnet_pipeline(mvs_list) File "test.py", line 216, in mvsnet_pipeline restorer = tf.train.Saver(tf.global_variables()) File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\tensorflow_core\python\training\saver.py", line 828, in init self.build() File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\tensorflow_core\python\training\saver.py", line 840, in build self._build(self._filename, build_save=True, build_restore=True) File "D:\Anaconda3\envs\tensorflow_1.x_gpu\lib\site-packages\tensorflow_core\python\training\saver.py", line 865, in _build raise ValueError("No variables to save") ValueError: No variables to save

Tz7311 commented 4 months ago

楼主,是否已经解决了?我也遇到同样的问题