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

Enable creating models from "model_params.json" #111

Merged
merged 3 commits into from
Nov 16, 2022
Merged

Enable creating models from "model_params.json" #111

merged 3 commits into from
Nov 16, 2022

Conversation

malihass
Copy link
Collaborator

Instantiating a Sup3rGan object from the model_params.json file saved during training returns an error because hidden_layers is not at the root of the dictionary loaded.
This modif checks for that case when instantiating Sup3rGan

@malihass malihass merged commit 4706efb into NREL:main Nov 16, 2022
github-actions bot pushed a commit that referenced this pull request Nov 16, 2022
Enable creating models from "model_params.json"
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.

None yet

2 participants