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

Bm/load_from_checkpoint #116

Merged
merged 95 commits into from
Jun 25, 2024
Merged

Bm/load_from_checkpoint #116

merged 95 commits into from
Jun 25, 2024

Conversation

BenjaminMidtvedt
Copy link
Collaborator

@BenjaminMidtvedt BenjaminMidtvedt commented Jun 20, 2024

Allows loading deeplay applications from checkpoints. This makes integration with lightning much more convenient. Example:

net = ...
app = dl.Classifier(net).build()

app.fit(data, max_epochs=100)

# reload best model
path = app.trainer.checkpoint_callback.best_model_path
best_app = dl.Classifier.load_from_checkpoint(path)

BenjaminMidtvedt and others added 30 commits April 22, 2024 14:50
…ng/strategies/uncertainty.py, deeplay/applications/application.py, and deeplay/activelearning/strategies/strategy.py
Fixes an issue with multi-blocks not having their configuration correctly cleared if created multiple times
@giovannivolpe giovannivolpe merged commit 9705dd3 into develop Jun 25, 2024
12 checks passed
@giovannivolpe giovannivolpe deleted the bm/load_from_checkpoint branch June 25, 2024 14:20
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

Successfully merging this pull request may close these issues.

2 participants