Open
Description
Hi,
I get an error while trying to generate images using the pretrained AttnGAN model:
sh sample.sh coco-attngan
...
File "main.py", line 86, in gen_example
algo.gen_example(data_dic)
File ".../multiple-objects-gan-master/code/coco/attngan/trainer.py", line 604, in gen_example
netG.load_state_dict(state_dict)
RuntimeError: Error(s) in loading state_dict for G_NET:
Unexpected key(s) in state_dict: "netG".
Metadata
Metadata
Assignees
Labels
No labels