Open durgesh17media opened 4 years ago
thanks for the reply @junyanz sir , I have 1400 rgb and thermal image pair 128*128 pixel. will it be ok for pix2pix hd or spade? any tips for parameter tuning while training?
You can use the default parameters. I also recommend that you use random cropping (e.g., --load_size 143 --crop_size 128
and flipping.
This you are telling for pix2pixHD?
You can try both. Pix2pixHD might have different naming conversions for these flags.
Still getting bad results after --load_size 143 --crop_size 128 . Training command :python3 train.py --dataroot ./datasets/combine_faces/ --name face_new12_pix2pix --model pix2pix --direction AtoB --netG unet_128 --n_epochs 200 --n_epochs_decay 200 --preprocess none --load_size 143 --crop_size 128
and one more thing ,the model only converts rgb to thermal for only the test folder images in combine_faces, but when I am giving random images of mine or someone else's after resizing it to the trained data dimension , the model fails miserably. Fake B real A real B @junyanz please guide.
--netG resnet_6blocks
or --netG resnet_9blocks
. But there is no guarantee. --model test
. See this script for a reference. hello @junyanz , can you tell me what is this .ipynb_checkpoints folder in PyTorch-CycleGAN-and-pix2pix/results/face_new6_pix2pix/test_latest/images???? why it is being created and what is the use of this?
@junyanz please respond on the above question.
This post explains the ipytnb_checkpoints. It might be caused by the creation of a iPython notebook.
Do you think if we play with the learning rate to higher (?) or lower(?), might affects the performance of the networks having better-generated results? else what could help for generating better outcomes? either in oix2pix or Pix2pixHD?
Not sure. It all depends on your application and datasets. Quite hard to predict which learning rate is the best in advance.
has anyone performed pix2pix approach for RGB to Thermal image translation? I am getting very bad results while testing. anyone can help? I used this command for testing: python3 test.py --dataroot ./datasets/combine_faces/ --name face4_pix2pix --model pix2pix --direction AtoB
results: Real A
Real B
FakeB