Open tylerganter opened 4 years ago
Closed PR with initial attempt to fix: https://github.com/voxel51/eta/pull/375
WTF is going on...
import eta.core.models as etam
etam.download_model("ssd-resnet50-fpn-coco", force=True) # fails
etam.download_model("ssd-mobilenet-v1-coco", force=True) # works
FYI the reason that eta.core.web.download_google_drive_file
is not a straightforward implementation is that Google Drive shows annoying "large file" warnings when downloading large files that must be handled. See this SO question for the inspiration of my original implementation of this:
Getting the following error when deploying a new sense version:
You can replicate the bug with the following:
Note that this is only happening for certain models. (I think ones that have been downloaded a lot recently)
It seems to be an issue with too many requests to download the file? I found this article here: https://www.ghacks.net/2017/04/14/fix-google-drive-sorry-you-cant-view-or-download-this-file-error/ and a few others with similar suggestion to replace
with
But as @brimoor noticed, this downloads something else that is not the correct file.