You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/main.py", line 57, in
main()
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/main.py", line 32, in main
train(sources, MODEL_SAVE_PATH, EPOCHES, BATCH_SIZE, logging_period=LOGGING)
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/train.py", line 200, in train
saver.save(sess, save_path + str(epoch) + '/' + str(epoch) + '.ckpt')
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1703, in save
{self.saver_def.filename_tensor_name: checkpoint_file})
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1058, in _run
raise RuntimeError('Attempted to use a closed Session.')
RuntimeError: Attempted to use a closed Session.
您好在跑完您的training后总是遇到这个错误请问怎么解决
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/main.py", line 57, in
main()
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/main.py", line 32, in main
train(sources, MODEL_SAVE_PATH, EPOCHES, BATCH_SIZE, logging_period=LOGGING)
File "/home/root3203/wanniny/code/DDcGAN-master/PET-MRI image fusion/train.py", line 200, in train
saver.save(sess, save_path + str(epoch) + '/' + str(epoch) + '.ckpt')
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/training/saver.py", line 1703, in save
{self.saver_def.filename_tensor_name: checkpoint_file})
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/home/root3203/anaconda3/envs/tf/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1058, in _run
raise RuntimeError('Attempted to use a closed Session.')
RuntimeError: Attempted to use a closed Session.
您好在跑完您的training后总是遇到这个错误请问怎么解决
The text was updated successfully, but these errors were encountered: