xiaofei_zh
Results
2
comments of
xiaofei_zh
> 我也把dehaze22.py的.换成了_,能运行,但是load key的时候报错,有些key没有load进去,有的load不对。求解决呀~ 放一小段代码 > `self.__class__.__name__, "\n\t".join(error_msgs))) RuntimeError: Error(s) in loading state_dict for dehaze: Missing key(s) in state_dict:` > 还会有不匹配的,比如 > `size mismatch for tran_dense.dense_block1.denselayer1.conv1.weight: copying a param with shape...
You can debug it by adding "import warnings".