open-mmlab / mmgeneration

MMGeneration is a powerful toolkit for generative models, based on PyTorch and MMCV.
https://mmgeneration.readthedocs.io/en/latest/
Apache License 2.0
1.91k stars 232 forks source link

How to modify the configuration file when using styleganv2 to generate a single-channel 800x800 SAR image? #509

Open 19990101lrk opened 1 year ago

19990101lrk commented 1 year ago

I want to use the styleganv2 model to generate SAR images as a data enhancement method for other tasks. I have a single-channel 800x800 SAR image. How to modify the configuration file to generate the same single-channel SAR image. I am currently modifying the configuration file. The image size can only be 512x512 or 1024x1024 and the image is three-channel RGB.