UniversalFakeDetect icon indicating copy to clipboard operation
UniversalFakeDetect copied to clipboard

Questions about model validation

Open oceanzhf opened this issue 5 months ago • 1 comments

RuntimeError: Error(s) in loading state_dict for Linear: Missing key(s) in state_dict: "weight", "bias". Unexpected key(s) in state_dict: "model", "optimizer", "total_steps". When I use my trained epoch.pth for validate.py, it throws an error. How can I resolve this?

oceanzhf avatar Sep 25 '24 02:09 oceanzhf