models icon indicating copy to clipboard operation
models copied to clipboard

AssertionError: No checkpoint specified (save_path=None); nothing is being restored.

Open Rodeazzo opened this issue 5 years ago • 3 comments

Hi,

I'm using a Google Colab document to do transfer learning on a pre-existing model. I am trying to save the model but I keep getting the error in the title. I tried searching for a solution to this problem, for example: https://colab.research.google.com/drive/1sLqFKVV94wm-lglFq_0kGo2ciM0kecWD#scrollTo=5eA5ht3_yukT

Mine is identical but I keep getting the assertion error. I checked also in the directory and the checkpoint document is there (and not empty) here's a screenshot of the contents:

image

As for the code I'm trying:

image

Anyone has any idea why this is happening? What can I do to solve this issue?

Thanks!

Rodeazzo avatar May 04 '21 17:05 Rodeazzo

@Rodeazzo Please take a look at this comment and also go through the entire issue since there are other alternatives to fix the problem. Hope that will resolve your query. Thanks!

saikumarchalla avatar May 05 '21 14:05 saikumarchalla

Commenting the line in said comment did work. I find it odd this has not been remedied in a year tough. I followed the instructions exactly so there shouldn't have been problems.

Nonetheless, appreciate the help!

Rodeazzo avatar May 05 '21 15:05 Rodeazzo

Are you satisfied with the resolution of your issue? Yes No

google-ml-butler[bot] avatar May 06 '21 08:05 google-ml-butler[bot]