net.load_state_dict(weights)
#修改为
net.load_state_dict(weights,strict=False)
RuntimeError: Error(s) in loading state_dict for Generator:
最新推荐文章于 2024-03-13 16:58:16 发布
net.load_state_dict(weights)
#修改为
net.load_state_dict(weights,strict=False)