MCCNet icon indicating copy to clipboard operation
MCCNet copied to clipboard

Key error when loading pretrained MCC module

Open thunguyenphuoc opened this issue 3 years ago • 1 comments

I'm trying to run the prestrained module but get the error when I was trying to load the state_dict for the MCC_Module (mcc_module_iter_160000.pth). The error is as follows:

RuntimeError: Error(s) in loading state_dict for MCC_Module: Unexpected key(s) in state_dict: "MCCN.h.weight", "MCCN.h.bias".

thunguyenphuoc avatar Jan 19 '22 12:01 thunguyenphuoc

We have revised the code and you can solve the problem by updating "net.py".

XYkong-CS avatar Mar 29 '22 09:03 XYkong-CS