bcmi / F2GAN-Few-Shot-Image-Generation

Fusing-and-Filling GAN (F2GAN) for few-shot image generation, ACM MM2020
78 stars 11 forks source link

TypeError: cannot unpack non-iterable NoneType object #2

Closed jinzhenmu closed 4 years ago

jinzhenmu commented 4 years ago

when i use " python3 train_dagan_with_matchingclassifier.py --dataset emnist --image_width 28 --batch_size 20 --experiment_title MMF2GAN/emnist1way3shot --selected_classes 1 --support_number 3 --loss_G 1 --loss_D 1 --loss_CLA 1 --loss_recons_B 1 --loss_matching_G 0.01 --loss_matching_D 1 --loss_sim 1 "

i can not to find what happen

hy-zpg commented 4 years ago

you can modify /utils/parser_utils.py by setting the default of '--matching ' as 1, or adding --matching 1 in the scripts.

jinzhenmu commented 4 years ago
hy-zpg commented 4 years ago

I have updated utils/parser_utils.py and dagan_architectures_with_matchingclassifier.py, you can download this two files and try again.