DeepTrackAI / DeepTrack2

DeepTrack2
MIT License
156 stars 47 forks source link

Pre-trained weights in tutorial not loading #156

Open seanbyrne226 opened 1 year ago

seanbyrne226 commented 1 year ago

Hi there,

in the particle sizing [https://github.com/softmatterlab/DeepTrack2/blob/develop/examples/paper-examples/3-particle_sizing.ipynb], I set the model to load the pre-trained weights and there are a few issues.

First the code should be written as follows to call the weights: model_path = deeptrack.extras.datasets.load_model("ParticleTracking")

However, the weights seem not to be available and I get the following error: BadZipFile: File is not a zip file

BenjaminMidtvedt commented 1 year ago

I can reproduce locally. Seems like the hosting service has changed its API. I'll look into it.

seanbyrne226 commented 1 year ago

Thanks :)

avi-xd commented 7 months ago

BadZipFile error is still there!! any suggestions on how to resolve?