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 training sr #1

Open
mrgreen3325 opened this issue Nov 21, 2022 · 5 comments
Open

About training sr #1

mrgreen3325 opened this issue Nov 21, 2022 · 5 comments

Comments

@mrgreen3325
Copy link

Hello.
Thanks for your work.
I have some questions about training sr.

  1. Is that I need to train both dresnet and han models and provide both trained models to train the sr?
  2. I notice that the config_cont.json and config_cont2.json have different train_s_path1, train_s_path2, train_target_path, train_label_path, should I use the same training data for that?
  3. There are two sr model g1 and g2 during the training, how do I choose to use during the inference?
    Thanks.
@sangyun884
Copy link
Owner

Hi,

  1. Yes.
  2. The code only uses the paths in config_cont.json
  3. There is no specific way. You may choose the best performing one or use both.

@mrgreen3325
Copy link
Author

Hi,

  1. Yes.
  2. The code only uses the paths in config_cont.json
  3. There is no specific way. You may choose the best performing one or use both.

Thanks for your reply.
May I know can I train the sr model from scratch, i.e. not use the realesrgan pretrain?
Also, is there any psnr comparison between realesrgan and the mssr?
Thanks.

@sangyun884
Copy link
Owner

May I know can I train the sr model from scratch, i.e. not use the realesrgan pretrain?

Yes.

Also, is there any psnr comparison between realesrgan and the mssr?

No.

@mrgreen3325
Copy link
Author

May I know can I train the sr model from scratch, i.e. not use the realesrgan pretrain?

Yes.

Also, is there any psnr comparison between realesrgan and the mssr?

No.

Thanks.
Will the result be degraded if I don't use the realesrgan pretrain model?
For training the degradation models, if I want to use my own camera data, is that the train-source refers to my noisy phone camera images, train-target refers to perfect noiseless images, e.g. ntire2020 target 800 images?

@mrgreen3325
Copy link
Author

May I know can I train the sr model from scratch, i.e. not use the realesrgan pretrain?

Yes.

Also, is there any psnr comparison between realesrgan and the mssr?

No.

Hello.
I follow the guide to train.
When I train the rrdb model (use the Realesrgan pretrain) with NTIRE2020 dataset, I found that at about 80000 iteration the val output image is a bit noisy, as shown:
Is that I miss some setting, or it is normal?
ensemble_0814

ensemble_0808

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