Skip to content

Conversation

@jeylau
Copy link
Contributor

@jeylau jeylau commented Oct 24, 2023

In COLAB, the pretrained model weights are stored on a non-persistent disk, causing training to fail as weights cannot be found (ValueError: The passed save_path is not a valid checkpoint:...). This PR introduces a smarter checkpoint restore mechanism to prevent this from happening, silently redownloading the weights.

@jeylau jeylau added the enhancement New feature or request label Oct 24, 2023
@jeylau jeylau self-assigned this Oct 24, 2023
@MMathisLab MMathisLab merged commit 4de1236 into main Oct 24, 2023
@MMathisLab MMathisLab deleted the jeylau/fix_weights_restore branch October 24, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants