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

Question of pretrained model #138

Open
yxldd opened this issue Nov 26, 2023 · 1 comment
Open

Question of pretrained model #138

yxldd opened this issue Nov 26, 2023 · 1 comment

Comments

@yxldd
Copy link

yxldd commented Nov 26, 2023

What's the different between the _opt and _gen pretrained models?

@include5636
Copy link

include5636 commented Jan 1, 2024

Hi, @yxldd
_opt is like .state file which contains training parameters like epoch / iter / scheduler / optimizer etc.
while _gen is like .pth file which contains model parameters.
You could find corresponding code here:
https://github.com/Janspiry/Image-Super-Resolution-via-Iterative-Refinement/blob/01d27a7cbfa8502be1d8dbd4ee02fcbd5e44389d/model/model.py#L129C1-L141C40

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

No branches or pull requests

2 participants