raspstephan / nwp-downscale

MIT License
38 stars 9 forks source link

Added some of Annas implementations and pure SR option in dataloader #43

Closed raspstephan closed 3 years ago

raspstephan commented 3 years ago

@annavaughan This includes your GAN loss version. In the trainer, chose adv_loss_type='mse'. It also includes the option for pure super-resolution in the dataloader by setting pure_sr_ratio=2 or some other integer. Let me know if you have any question on how to use the GANTrainer class. It has a bunch of options but should do most of what you need.

I did not include your version of the generator and discriminator yet. Maybe you could do that yourself, if you think it's necessary, by just adding your version as an option.