Pytorch-cyclegan-and-pix2pix: Pretrained models

Created on 22 Apr 2017  路  20Comments  路  Source: junyanz/pytorch-CycleGAN-and-pix2pix

Do you have any CycleGAN pretrained models available that use pytorch?

Most helpful comment

We are training some models now, and we will upload them soon.

All 20 comments

We are training some models now, and we will upload them soon.

Any update on this?

I would also be very interested? Anybody has a pretrained model?

Hey,
do you have any training curves? I tried your code and the results do not look too good ... would be great if you can provide the training curves for a comparison, thanks a lot!

Any update?

Where can I find a pre trained model for edges2shoes and edges2handbags?

Anyone have the monet2photo pre-trained model?

Did someone train the network for segmentation?

We have a few pre-trained models available. More are coming.
pix2pix: edges2shoes, sat2map, and facades_label2photo
CycleGAN: horse2zebra and zebra2horse

Please check out the download_scripts, instructions(pix2pix) and instructions(CyclceGAN) for more details.

Hi @junyanz I'm trying to load the pretrained cyclegan (horse2zebra) model as below code template,

model = XXXModel()
model.load_state_dict(torch.load('latest_net_G.pth'))

dumb question please. which XXXModel should I use in your code base please? I'm assuming that it should be a child class of torch.nn.Module.

or could you save and share the whole model for reference please? :)

Thank you very much!

Forget about it. Figured out from the test_model.py. :)

Hi,
I wondered if there was any progress on adding pretrainined models for photo 2 monet/cezanne/vangogh. I have trained cyclegan myself with the default parameters, but wasn't 100% happy with the results and would like to see the results of your models for comparison!
Regards,
Alex

we don't have these models available. You can improve the results with additional identity loss.

Hi,
Since there's no pretrained model for sat2map, I'm using default params to train sat2map by running
python train.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan --no_dropout
as suggested in README.

The generated images don't seem to have the quality it should at epoch 100+. Here's a generated image at epoch 151. Am I missing something? Thank you!

(epoch151_fake_A.png, epoch151_fake_B.png)
epoch151_fake_a
epoch151_fake_b

Could you please add a pre-trained model for apple2orange.

Regards,
Mukesh Chandak

We will add more models soon. @taesung89

Added! Please use the script pretrained_models/download_cyclegan_model.sh to download the pretrained models.

Do you have the pretrained pix2pix model available for colourisation

We don't' have one for pix2pix. Maybe you can check out this repo.

@wnls I caught the same problem, how did you slove it?

Hi @junyanz I'm trying to load the pretrained cyclegan (horse2zebra) model as below code template,

model = XXXModel()
model.load_state_dict(torch.load('latest_net_G.pth'))

dumb question please. which XXXModel should I use in your code base please? I'm assuming that it should be a child class of torch.nn.Module.

or could you save and share the whole model for reference please? :)

Thank you very much!

Forget about it. Figured out from the test_model.py. :)

Can you write please how did you solve this problem?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

khryang picture khryang  路  3Comments

filmo picture filmo  路  3Comments

bill0812 picture bill0812  路  3Comments

JamesChenChina picture JamesChenChina  路  3Comments

HectorAnadon picture HectorAnadon  路  4Comments