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

Verify download of pre-trained model #296

Closed
adamltyson opened this issue Dec 6, 2022 · 0 comments · Fixed by #414
Closed

Verify download of pre-trained model #296

adamltyson opened this issue Dec 6, 2022 · 0 comments · Fixed by #414
Labels
cellfinder-core Issue concerns the core backend enhancement New feature or request

Comments

@adamltyson
Copy link
Member

If the download of the pre-trained model is interrupted, it can't be loaded by tensorflow and there's a fairly cryptic error message (e.g. OSError: Unable to open file (truncated file: eof = 62652416, sblock->base_addr = 0...) that doesn't help the user debug.

We could checksum, or even just catch the error. Catching the error could be used for any model/weights, not just the pre-trained model.

@adamltyson adamltyson added the enhancement New feature or request label Dec 6, 2022
willGraham01 referenced this issue in brainglobe/cellfinder-core Aug 24, 2023
Add checkbox to use pre-trained weights
@willGraham01 willGraham01 added the cellfinder-core Issue concerns the core backend label Jan 3, 2024
@willGraham01 willGraham01 transferred this issue from brainglobe/cellfinder-core Jan 3, 2024
@adamltyson adamltyson mentioned this issue May 7, 2024
7 tasks
@github-project-automation github-project-automation bot moved this from Backlog to Done in Core development May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cellfinder-core Issue concerns the core backend enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants