Scene-Text-Removal icon indicating copy to clipboard operation
Scene-Text-Removal copied to clipboard

AssertionError: Parameter 'ste0_conv0_weight' is missing in file

Open abxyz888 opened this issue 3 years ago • 3 comments

environment: Python 2.7.12 mxnet-cu80 == 1.3.1 matplotlib 2.2.5

I use the pretrain models to Testing and I met this problems. But I can't fix this error. Could anybody hep me?

root@2f99ac26d9b7:/workspace# python test.py --test_image=./test/image/img_58.jpg --model=./root/.mxnet/models/vgg16-e660d456.params --result=./output/ Traceback (most recent call last): File "test.py", line 81, in test(args) File "test.py", line 30, in test netG, netD,net, net_label ,trainerG, trainerD, trainerV, trainerL = set_network(args) File "/workspace/network.py", line 79, in set_network netG.collect_params().load(args.model,ctx = ctx) File "/usr/local/lib/python2.7/dist-packages/mxnet/gluon/parameter.py", line 911, in load name[lprefix:], filename, _brief_print_list(arg_dict.keys())) AssertionError: Parameter 'ste0_conv0_weight' is missing in file './root/.mxnet/models/vgg16-e660d456.params', which contains parameters: 'features.24.weight', 'features.17.bias', 'features.21.weight', ..., 'features.17.weight', 'features.14.bias', 'features.33.weight', 'features.10.bias'. Please make sure source and target networks have the same prefix.

abxyz888 avatar Oct 18 '21 14:10 abxyz888

I also encountered the same problem

codexyd123 avatar Oct 20 '21 08:10 codexyd123

I got same error

AItechnology avatar Nov 29 '21 17:11 AItechnology

Samee!

arnavmehta7 avatar Sep 28 '22 05:09 arnavmehta7