Traceback (most recent call last):


 "demo_prog.py", line 113, in <module>

optimize_x(pt)


 "demo_prog.py", line 49, in optimize_x

pt._load_checkpoint()


 "/home/banana/GAN/stylized-neural-painting-main12/painter.py", line 71, in _load_checkpoint

self.net_G.load_state_dict(checkpoint['model_G_state_dict'])


 "/home/banana/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 845, in load_state_dict

self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for ZouFCNFusionLight:

Traceback (most recent call last):


 "/home/uc/PY/HRNetOCR/tools/train.py", line 322, in <module>

main()


 "/home/uc/PY/HRNetOCR/tools/train.py", line 99, in main

'.get_seg_model')(config)


 "/home/uc/PY/HRNetOCR/tools/../lib/models/seg_hrnet_ocr.py", line 678, in get_seg_model

model.init_weights(cfg.MODEL.PRETRAINED)


 "/home/uc/PY/HRNetOCR/tools/../lib/models/seg_hrnet_ocr.py", line 673, in init_weights

raise RuntimeError('No such file {}'.format(pretrained))
RuntimeError: No such file pretrained_models/hrnetv2_w48_imagenet_pretrained.pth
