Closed QingzeYin closed 6 years ago
Since you save your baseline model weights in a key named 'state_dict' (https://github.com/yxgeee/FD-GAN/blob/master/baseline.py#L150).
you can just modify no.54 line in your screenshot
state_dict = remove_module_key(torch.load(self.opt.netE_pretrain)['state_dict'])
Since you save your baseline model weights in a key named 'state_dict' (https://github.com/yxgeee/FD-GAN/blob/master/baseline.py#L150).
you can just modify no.54 line in your screenshot
state_dict = remove_module_key(torch.load(self.opt.netE_pretrain)['state_dict'])
Thanks for your quickly replying :+1: . I fixed that with this explicit explanation
After testing stage one, when I was doing FD-GAN pretraining in stage two, the error was occurred as shown below: Do you know which part need to be fixed?