Closed gogobd closed 2 years ago
Hello @gogobd, the code structure is similar to CycleGAN-pix2pix, SPADE, and Swapping Autoencoder. I don't have a template, but it's not too much work to strip away paper-specific codes.
To use these codes as template, I recommend taking the code base of Swapping Autoencoder, since that's the newest code, and modify swapping_autoencoder_optimizer.py, swapping_autoencoder_model.py. I usually find myself writing a new subclass of BaseDataset for data loading, and network structures under models/networks/
. Please take a look at a brief explanation of the code structure here.
Thank you for sharing!
Hi! I have a question about the code structure.
I really like the structure of this code base, i.e. the way options are handled, the directory / module structure etc. I have seen this structure across multiple projects in different pytorch experiments now and simply wanted to learn if there is some sort of "template" or example code base you were using.