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

Model save load #172

Merged
merged 4 commits into from
Jun 10, 2023
Merged

Model save load #172

merged 4 commits into from
Jun 10, 2023

Conversation

Oxid15
Copy link
Owner

@Oxid15 Oxid15 commented Jun 10, 2023

Changes how models are saved

  • load() now is a classmethod
    • The above implies that old-way usage should still be valid
    • but limitations on default constructors are now lifted
    • and new-way should be used from now on
  • save can accept folders now (which should be the standard in the first place)
  • TorchModel now saves the whole object and loads itself

@Oxid15 Oxid15 self-assigned this Jun 10, 2023
@Oxid15 Oxid15 merged commit eb69179 into 0.12.0 Jun 10, 2023
@Oxid15 Oxid15 deleted the model_save_load branch June 10, 2023 13:21
@Oxid15 Oxid15 mentioned this pull request Jul 11, 2023
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.

1 participant