-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Addition Of CycleGAN model #135
Comments
I think having a section here/ Metalhead.jl on GANs is fine. First order of business is to get a general model working. Are there any specifics that you see that need to be addressed in Flux to get this to run on a broad basis? |
Generator :
Discriminator :
There would be a generator and a discriminator defined for each domain. Loss functions :
Utility functions :
I plan to organise the code as :
|
Hey Shreyas, this all looks reasonable to me; feel free to start hacking this out, and let us know when you run into something that is difficult; let's do our best to try and figure out what are going to be the difficult pieces as early as possible, and devote appropriate resources into making them as painless as possible! :) |
@staticfloat I've put together the pieces here : I am unable to test the implementation as the model does not fit on my GPU. I've talked to @dhairyagandhi96 regarding this. |
Yeah, we will get them access to some GPU machines to test their code out on. |
As suggested by @dhairyagandhi96 , I have chalked out an implementation for the cycleGAN model
Write the UNet architecture for the generator [For 256x256 and 128x128 images]
Write the discriminator. The paper's implementation reference would be followed.
Training would be done on the apples2oranges dataset first followed by the horses2zebras dataset.
Formulation of the identity loss for the generators and discriminators and the adversarial losses.
The code will be organised in a separate repository with the utility functions, I/O, model definitions and training files.
What more details are required?
@staticfloat
The text was updated successfully, but these errors were encountered: