santhoshkolloju / Abstractive-Summarization-With-Transfer-Learning

Abstractive summarisation using Bert as encoder and Transformer Decoder
407 stars 98 forks source link

Can't load save_path when it is None. #44

Open annaakhil opened 4 years ago

annaakhil commented 4 years ago

I am training the model and it is taking longer than expected so I killed the process. However, when I am running inference.py, I am getting an error Traceback (most recent call last): File "inference.py", line 92, in saver.restore(sess, tf.train.latest_checkpoint(model_dir)) File "C:\Users\AKHIL\Anaconda3\lib\site-packages\tensorflow_core\python\training\saver.py", line 1277, in restore raise ValueError("Can't load save_path when it is None.") ValueError: Can't load save_path when it is None. can anyone please look into it?