resnet.load_state_dict((torch.load("/root/data/others/yaoganbisai/code_6_7/models/pretrained_model/resnet50-19c8e357.pth"))) if args.model == 'deeplabv3_version_1'中,设置了path之后,会报错。错误在上面。这个resnet里面的pth是怎么生成的。
if args.model == 'deeplabv3_version_1'中,设置了path之后,会报错。错误在上面。这个resnet里面的pth是怎么生成的。