-
Notifications
You must be signed in to change notification settings - Fork 385
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
Config for training other resolutions #9
Comments
For 64x64, something along the lines of: "model": {
"type": "image_v1",
"input_channels": 3,
"input_size": [64, 64],
"mapping_out": 256,
"depths": [2, 2, 4, 4],
"channels": [128, 256, 256, 512],
"self_attn_depths": [false, false, true, true],
"dropout_rate": 0.05,
"augment_prob": 0.12,
"sigma_data": 0.5,
"sigma_min": 1e-2,
"sigma_max": 80,
"sigma_sample_density": {
"type": "lognormal",
"mean": -1.2,
"std": 1.2
}
}, For each doubling in resolution you need to add one additional U-Net stage, so "model": {
"type": "image_v1",
"input_channels": 3,
"input_size": [128, 128],
"mapping_out": 256,
"depths": [2, 2, 2, 4, 4],
"channels": [128, 256, 256, 512, 512],
"self_attn_depths": [false, false, false, true, true],
"dropout_rate": 0.05,
"augment_prob": 0.12,
"sigma_data": 0.5,
"sigma_min": 1e-2,
"sigma_max": 160,
"sigma_sample_density": {
"type": "lognormal",
"mean": -1.2,
"std": 1.2
}
}, As you increase resolution you also need to increase |
Thanks for the quick reply! |
lr should probably go down roughly linearly if you decrease the batch size. :) |
Thanks! |
Hello and thanks for the implementation of the paper!
I ran the code with the current config and it seems to do very good, how would one go about training a model with images of size 64x64 or 128x128?
Thanks,
Eliahu
The text was updated successfully, but these errors were encountered: