What is the difference between eval/eval.py and code/main.py code for the generation part?
When I run eval/eval.py the images are of size 64x64. Whereas when I sample from test folder using code/main.py by setting the cfg.B_VALIDATION as True, it generates 256x256 images. Both the scripts use the same cfg/eval_****.yml.
Why does the eval.py script generate 64x64 images? I don't see any other hyper paramater in eval.py code that decides the size of the images.
What is the difference between
eval/eval.py
andcode/main.py
code for the generation part?When I run
eval/eval.py
the images are of size 64x64. Whereas when I sample from test folder usingcode/main.py
by setting thecfg.B_VALIDATION
asTrue
, it generates 256x256 images. Both the scripts use the samecfg/eval_****.yml
.Why does the
eval.py
script generate 64x64 images? I don't see any other hyper paramater ineval.py
code that decides the size of the images.I add
print(im.size)
after line 110 ineval/eval.py
https://github.com/taoxugit/AttnGAN/blob/master/eval/eval.py#L110I add
print(im.size)
after line 423 incode/trainer.py
https://github.com/taoxugit/AttnGAN/blob/master/code/trainer.py#L423