ruotianluo / ImageCaptioning.pytorch

I decide to sync up this repo and self-critical.pytorch. (The old master is in old master branch for archive)
MIT License
1.43k stars 409 forks source link

Simple Colab Notebook Issue: No such file or directory: 'model-best.pth' #170

Closed AlexanderWeismannn closed 1 year ago

AlexanderWeismannn commented 1 year ago

When running the cell below it seems that the 'model-best.pth' was not generated.

AlexanderWeismannn commented 1 year ago

image

AlexanderWeismannn commented 1 year ago

Quick update. I see that there are multiple "model-best.pth" on the google drive that i can use but im not sure which one specifically coincides with this particular test notebook.

ruotianluo commented 1 year ago

gdown cannot download properly any more for some reason. Is there one whose name has 12in it?

AlexanderWeismannn commented 1 year ago

None when i looked though it quickly. Ill look again and see.

AlexanderWeismannn commented 1 year ago

hmm yeah seems like an access issues with gdown. Ill see if there a work around maybe

AlexanderWeismannn commented 1 year ago

So gdown doesnt work on files that are too large and seem to be blocked by the virus detection scan not being able to be run. Downloading it manually fixed the issue.

AlexanderWeismannn commented 1 year ago

updates gdown %pip install --upgrade --no-cache-dir gdown and ran using !gdown 1VmUzgu0qlmCMqM1ajoOZxOXP3hiC_qlL fixed the problem.