vishal3477 / Reverse_Engineering_GMs

Official Pytorch implementation of paper "Reverse Engineering of Generative Models: Inferring Model Hyperparameters from Generated Images"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deepfake_detection.py gives an error ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group

ssablak opened this issue · comments

@vishal3477 I couldn't run **fake_detection_test.py". It gives the following error below.
Thanks,

optimizer.load_state_dict(state1['optimizer_1'])

deepfake_detection_test_error

@vishal3477 could you please help me with how to get the correct model file or fix the bug?

@ssablak can you try it again with the newer commit?

@vishal3477 it works now. Thank you very much.