AssertionError: No checkpoint specified (save_path=None); nothing is being restored.
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:

As for the code I'm trying:

Anyone has any idea why this is happening? What can I do to solve this issue?
Thanks!
@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!
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!