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

Super-resolution not completely respecting input low resolution image #367

Open
AhmedGamal411 opened this issue Oct 18, 2023 · 0 comments
Open

Comments

@AhmedGamal411
Copy link

Super-resolution not completely respecting input low resolution image

image

image

Source: https://www.robots.ox.ac.uk/~vgg/data/voxceleb/vox2.html

Note: There are other instances where it does follow the low input resolution image quite well.

unet0 = NullUnet()  # add a placeholder "null" unet for the base unet

unet1 = Unet(
    dim = unet_dim,
    cond_dim = 512,
    dim_mults = (1, 2, 4, 8),
    num_resnet_blocks = 3,
    layer_attns = (False, True, True, True),
    layer_cross_attns = (False, True, True, True)
)

unet2 = Unet(
    dim = 128,
    cond_dim = 512,
    dim_mults = (1, 2, 4, 8),
    num_resnet_blocks = (2, 4, 8, 8),
    layer_attns = (False, False, False, True),
    layer_cross_attns = (False, False, False, True)
)


imagen = Imagen(
    unets = (unet0,unet1, unet2),
    image_sizes = (8,64, 128),
    timesteps = 1000,
    cond_drop_prob = 0.1
).cuda()`

This images are sampled from the first super-resolution UNet only.

Is there any way to make it follow the low resolution image more closely, i.e parameter tuning ?

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

1 participant