-
Notifications
You must be signed in to change notification settings - Fork 1
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
[doc] pytorch lightning example #6
base: main
Are you sure you want to change the base?
Conversation
pretrained: bool = True | ||
learning_rate: float = 0.001 | ||
|
||
model_config = pydantic.ConfigDict(extra="forbid") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be automatically dealt by infra IMO
|
||
# Return model if not saved | ||
if self.checkpoint_path is None: | ||
return model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is solving the caching issue of models with a really bad practice (changing output type depending on the inputs) :s I don't know how to solve this one though
No description provided.