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

About Train #23

Open
pokameng opened this issue Sep 12, 2024 · 4 comments
Open

About Train #23

pokameng opened this issue Sep 12, 2024 · 4 comments

Comments

@pokameng
Copy link

@chaofengc @guoshihuixmu
hello bros!!!
Thanks for great works!!!
I want to train Stage one and Stage two with both 512*512 images.
Can you tell me how to modify the configes [train_FeMaSR_HQ_pretrain_stage, train_FeMaSR_LQ_stage] ?

@chaofengc
Copy link
Owner

chaofengc commented Sep 12, 2024

You might want to consider modifying the following codes:

Caution

The provided code is NOT optimized for $512\times512$ images. If you intend to work with this resolution, ensure you have a clear understanding of the required modifications. You will need to adjust other parts of the code accordingly to ensure proper functionality.

@pokameng
Copy link
Author

You might want to consider modifying the following codes:

Caution

The provided code is NOT optimized for 512 × 512 images. If you intend to work with this resolution, ensure you have a clear understanding of the required modifications. You will need to adjust other parts of the code accordingly to ensure proper functionality.

okok!
So the pretrained models your hvae shared only support 256*256 images,right?
FeMaSR_HRP_model_g.pth
FeMaSR_HRP_model_d.pth

After I debug ,the vgg layer name should modify with "pool4" instead of "relu4_4"

I also email you by gmail!!!

@chaofengc
Copy link
Owner

Thank you for your email. I believe an open discussion here would be more beneficial, as it could also assist others who may have similar questions.


The pretrained model only supports $256 \times 256$ inputs, so you'll need to re-run both Stage 1 and Stage 2 when switching to $512 \times 512$. Be aware that additional issues may arise during this transition, so proceed with caution.

@pokameng
Copy link
Author

Thank you for your email. I believe an open discussion here would be more beneficial, as it could also assist others who may have similar questions.

The pretrained model only supports 256 × 256 inputs, so you'll need to re-run both Stage 1 and Stage 2 when switching to 512 × 512 . Be aware that additional issues may arise during this transition, so proceed with caution.

Ok, thanks!!!

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