郭劲文

Results 5 comments of 郭劲文

> Maybe you can modify the code as follows, it works for me. > > ``` > model.netEN.module.load_state_dict(torch.load("EN.pth")['net']) > model.netDE.module.load_state_dict(torch.load("DE.pth")['net']) > model.netMEDFE.module.load_state_dict(torch.load("MEDFE.pth")['net']) > ``` Thank you very much. It's working...

> 我更改了代码,现在是正确的 Thank you very much. Your perfect work has greatly promoted my work

他只是方便了数据加载,其实你看那部分源码就是只用了mask和原始图像的数据 ---原始邮件--- 发件人: ***@***.***> 发送时间: 2021年7月21日(周三) 下午3:20 收件人: ***@***.***>; 抄送: ***@***.******@***.***>; 主题: Re: [KumapowerLIU/Rethinking-Inpainting-MEDFE] 自己训练的模型,无法test,在用continue_train时出现问题 (#12) 请问测试的时候不是应该只需要MASK吗,为什么test,py里三种图都用了 — You are receiving this because you authored the thread. Reply to this...

我说的原始图像就是待修复图像,mask是黑白图像,白色区域是标注的区域 ---原始邮件--- 发件人: ***@***.***> 发送时间: 2021年7月21日(周三) 下午3:32 收件人: ***@***.***>; 抄送: ***@***.******@***.***>; 主题: Re: [KumapowerLIU/Rethinking-Inpainting-MEDFE] 自己训练的模型,无法test,在用continue_train时出现问题 (#12) 请问为什么还要用原始图像,直接输入MASK不就应该能得到去遮挡的图吗 ------------------ 原始邮件 ------------------ 发件人: "KumapowerLIU/Rethinking-Inpainting-MEDFE" ***@***.***>; 发送时间: 2021年7月21日(星期三) 下午3:30 ***@***.***>; ***@***.******@***.***>; 主题: Re: [KumapowerLIU/Rethinking-Inpainting-MEDFE] 自己训练的模型,无法test,在用continue_train时出现问题 (#12) 他只是方便了数据加载,其实你看那部分源码就是只用了mask和原始图像的数据...

If the training test has no objects, then the negative samples are not labeled, showing how to resolve this error