Open GyuRiiii opened 1 year ago
Hello. I am a student who has just started studying deeplearning and there are many things I don't know.
I trained the pix2pix model with options —model pix2pix --direction AtoB --save_epoch_freq 100 --n_epochs 400 --n_epochs_decay 400 --preprocess scale_width_and_crop --load_size 768 --crop_size 768
—model pix2pix --direction AtoB --save_epoch_freq 100 --n_epochs 400 --n_epochs_decay 400 --preprocess scale_width_and_crop --load_size 768 --crop_size 768
and tried to test with options —model pix2pix --direction AtoB --preprocess scale_width_and_crop --load_size 1024 --crop_size 512
—model pix2pix --direction AtoB --preprocess scale_width_and_crop --load_size 1024 --crop_size 512
but the result came out cropped. (image size of test is 1488*837)
I want to know why this happens even if test and train have the same options.
and I also tried with scale_witdth option but I got this error:
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 13 but got size 12 for tensor number 1 in the list.
I want to know why these errors occur and how to solve! Thanks.
Hello I just tested your model and it worked, use for testing: --model pix2pix --no_dropout --direction AtoB --preprocess scale_width_and_crop --load_size 768 --crop_size 512 you can set the crop size to 768 too
--model pix2pix --no_dropout --direction AtoB --preprocess scale_width_and_crop --load_size 768 --crop_size 512
Hello. I am a student who has just started studying deeplearning and there are many things I don't know.
I trained the pix2pix model with options
—model pix2pix --direction AtoB --save_epoch_freq 100 --n_epochs 400 --n_epochs_decay 400 --preprocess scale_width_and_crop --load_size 768 --crop_size 768
and tried to test with options
—model pix2pix --direction AtoB --preprocess scale_width_and_crop --load_size 1024 --crop_size 512
but the result came out cropped. (image size of test is 1488*837)
I want to know why this happens even if test and train have the same options.
and I also tried with scale_witdth option but I got this error:
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 13 but got size 12 for tensor number 1 in the list.
I want to know why these errors occur and how to solve! Thanks.