We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the model needs to be explicitly initialized from a checkpoint. Otherwise, training starts from scratch.
aha-
Resumption works always (if called as follows)
bem = Segmentation.init_with_checkpoints( unet, model_args=dict(batchnorm=True), checkpoint_filepath="000-toy", ) print("training") _ = bem.fit( dataset_train=dataset_train, dataset_validate=dataset_eval, epochs=n_epochs, callbacks=callbacks, )
Resumption fails (starts from scratch)
bem = Segmentation( unet, model_args=dict(batchnorm=True), multi_gpu=True, checkpoint_filepath="000-toy", ) print("training") _ = bem.fit( dataset_train=dataset_train, dataset_validate=dataset_eval, epochs=n_epochs, callbacks=callbacks, )
Solution:
init_from_checkpoint
The text was updated successfully, but these errors were encountered:
For more info #331
Sorry, something went wrong.
It looks like resumption only works if there's been a SIGINT, otherwise it's starting from scratch.
Would it make sense to add init_from_checkpoints(...) in init or fitofSegmentation()`? 🤔
init_from_checkpoints(...)
init or
of
hvgazula
No branches or pull requests
Currently, the model needs to be explicitly initialized from a checkpoint. Otherwise, training starts from scratch.
aha-
Resumption works always (if called as follows)
Resumption fails (starts from scratch)
Solution:
init_from_checkpoint
isn't intuitive 🤔 (being a class method). Call it at estimator instantiation time.The text was updated successfully, but these errors were encountered: