File "/home/yan/disk/All_python_Text/pixel_link-master/train_pixel_link.py", line 292, in main
train(train_op)
File "/home/yan/disk/All_python_Text/pixel_link-master/train_pixel_link.py", line 278, in train
session_config = sess_config
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/contrib/slim/python/slim/learning.py", line 748, in train
master, start_standard_services=False, config=session_config) as sess:
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 1005, in managed_session
self.stop(close_summary_writer=close_summary_writer)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 833, in stop
ignore_live_threads=ignore_live_threads)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/coordinator.py", line 389, in join
six.reraise(*self._exc_info_to_raise)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 994, in managed_session
start_standard_services=start_standard_services)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 731, in prepare_or_wait_for_session
init_feed_dict=self._init_feed_dict, init_fn=self._init_fn)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/session_manager.py", line 289, in prepare_session
init_fn(sess)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/contrib/framework/python/ops/variables.py", line 697, in callback
saver.restore(session, model_path)
File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1746, in restore
raise ValueError("Can't load save_path when it is None.")
ValueError: Can't load save_path when it is None.
File "/home/yan/disk/All_python_Text/pixel_link-master/train_pixel_link.py", line 292, in main train(train_op) File "/home/yan/disk/All_python_Text/pixel_link-master/train_pixel_link.py", line 278, in train session_config = sess_config File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/contrib/slim/python/slim/learning.py", line 748, in train master, start_standard_services=False, config=session_config) as sess: File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/contextlib.py", line 17, in enter return self.gen.next() File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 1005, in managed_session self.stop(close_summary_writer=close_summary_writer) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 833, in stop ignore_live_threads=ignore_live_threads) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/coordinator.py", line 389, in join six.reraise(*self._exc_info_to_raise) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 994, in managed_session start_standard_services=start_standard_services) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/supervisor.py", line 731, in prepare_or_wait_for_session init_feed_dict=self._init_feed_dict, init_fn=self._init_fn) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/session_manager.py", line 289, in prepare_session init_fn(sess) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/contrib/framework/python/ops/variables.py", line 697, in callback saver.restore(session, model_path) File "/home/yan/anaconda3/envs/pixel_link/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1746, in restore raise ValueError("Can't load save_path when it is None.") ValueError: Can't load save_path when it is None.
有人遇到过吗?这个问题怎么解决呀?尝试各种办法都不行