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

Train tips #51

Closed
AndreyStille opened this issue Jan 31, 2022 · 3 comments
Closed

Train tips #51

AndreyStille opened this issue Jan 31, 2022 · 3 comments

Comments

@AndreyStille
Copy link

AndreyStille commented Jan 31, 2022

Hi
Thanks for your work. Can you please give advice or some tips and things to try to improve training process?
Loss is reducing but validation results are still poor. And quality isn't improving with new epoches. Despite dataset is quite big (10000 pics) and homogeneous . I'm trying to train 256 ->1024 sr3.
I would appreciate any tips or ideas. Thanks!

"model": { "which_model_G": "sr3", // use the ddpm or sr3 network structure "finetune_norm": false, "unet": { "in_channel": 6, "out_channel": 3, "inner_channel": 16, "norm_groups": 16, "channel_multiplier": [ 1, 2, 4, 8, // 8, // 16, 16, 32, 32, 32 ], "attn_res": [ // 16 ], "res_blocks": 1, "dropout": 0 },

@AndreyStille
Copy link
Author

loss on train in logging is about 3e-2, but on inference get such results
"beta_schedule": { // use munual beta_schedule for acceleration "train": { "schedule": "linear", "n_timestep": 2000, "linear_start": 1e-6, "linear_end": 1e-2 }, "val": { "schedule": "linear", "n_timestep": 2000, "linear_start": 1e-6, "linear_end": 1e-2 } },
1

@Janspiry
Copy link
Owner

Janspiry commented Feb 7, 2022

Hi, thanks for your attention.
You can inference the #12 .

@codgodtao
Copy link

@AndreyStille hello!
I have the same problem as you. The output image has a lot of noise! How do you adjust the network parameters, such as more resblock, beta_schedule or timesteps .In addition, is your data size large enough? Thank you in advance for your answer!

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

3 participants