imagen-pytorch icon indicating copy to clipboard operation
imagen-pytorch copied to clipboard

More Unets

Open sr5434 opened this issue 2 years ago • 5 comments

Hello. I would like to train a third super-resolution Unet to bring the resolution to 2048x2048. How could I go about training that (ideally in a Google Colab instance). Thanks!

sr5434 avatar Nov 25 '22 19:11 sr5434

Super easy, just do it the same way as in the readme and pass in a tuple of 4 unets instead of 3

lucidrains avatar Nov 25 '22 20:11 lucidrains

I would also remove all attention from the 4th unet and do random crops

lucidrains avatar Nov 25 '22 20:11 lucidrains

Thank you @lucidrains. What dataset do you recommend training the Super-Resoluting unets on?

sr5434 avatar Nov 26 '22 19:11 sr5434

@lucidrains what's the reason for disabling all the attention layers in the super-resolution U-Net? Does that help improve the image quality?

Feanor007 avatar Nov 27 '22 18:11 Feanor007

@lucidrains Thanks for the clear explanation :)

Feanor007 avatar Nov 27 '22 19:11 Feanor007