CoCosNet-v2 icon indicating copy to clipboard operation
CoCosNet-v2 copied to clipboard

Pretrained model "latest_net_netCorr.pth" corrupted

Open xqyd opened this issue 3 years ago • 1 comments

After following the instructions to run the test.py, the following error pops up RuntimeError: [enforce fail at C:\cb\pytorch_1000000000000\work\caffe2\serialize\inline_container.cc:231] . file in archive is not in a subdirectory archive/: latest_net_D.pth

when execute

net['netCorr'] = util.load_network(net['netCorr'], 'Corr', opt.which_epoch, opt)

in pix2pix_model.py (ln 119)

Does this mean the pth file was corrupted?

xqyd avatar Mar 25 '22 11:03 xqyd

#3

ousinkou avatar May 23 '22 06:05 ousinkou