Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to download checkpoint in Colab from Google Drive #208

Closed
deepakri201 opened this issue Feb 21, 2024 · 2 comments
Closed

Unable to download checkpoint in Colab from Google Drive #208

deepakri201 opened this issue Feb 21, 2024 · 2 comments

Comments

@deepakri201
Copy link

Hi,

I'm working through an adapted version of the tutorial_quickstart.ipynb notebook. However, I am working in google colab. To download the file from google drive, I do the following:

Screenshot 2024-02-21 at 10 34 11 AM

Unfortunately, this results in the following error:

Screenshot 2024-02-21 at 10 22 14 AM

Would it be possible to host the checkpoint as part of a github release attachment? There is no limit on the number of files, and each file can be a max of 2GB.

Thank you,

Deepa

@fedorov
Copy link

fedorov commented Feb 21, 2024

Related to this, for the notebook mentioned in #209 we attached the checkpoint to a release of the repository with the notebook https://github.com/ImagingDataCommons/IDC-Tutorials/blob/master/notebooks/analysis/MedSAM_with_IDC.ipynb (anticipating difficulties of accessing this large file from Google Drive) - you can do the same thing here.

@ff98li
Copy link

ff98li commented Feb 21, 2024

Hi @deepakri201 ,
Thank you for bringing this issue to our attention. To address the difficulty you've encountered in downloading our model checkpoint, we are now hosting the pretrained weights on Zenodo. Could you please try using the following command to download the pretrained weights, replacing the previous gdown code snippet:

!wget https://zenodo.org/records/10689643/files/medsam_vit_b.pth

@JunMa11 JunMa11 closed this as completed Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants