You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to test my image with pretrained model. After download your trained model and unzip, I try "python ./scripts/use_on_file.py --model model_epoch_190 --img sample_images/my_image.png".
But i get some error like below.
File "./scripts/use_on_file.py", line 57, in
chainer.serializers.load_npz(args.model, model)
File "/usr/local/lib/python2.7/dist-packages/chainer/serializers/npz.py", line 150, in load_npz
with numpy.load(file) as f:
File "/home/sungkwonan/.local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 372, in load
fid = open(file, "rb")
IOError: [Errno 21] Is a directory: 'model_epoch_190'
how can i set the trained model?
The text was updated successfully, but these errors were encountered:
I want to test my image with pretrained model. After download your trained model and unzip, I try "python ./scripts/use_on_file.py --model model_epoch_190 --img sample_images/my_image.png".
But i get some error like below.
File "./scripts/use_on_file.py", line 57, in
chainer.serializers.load_npz(args.model, model)
File "/usr/local/lib/python2.7/dist-packages/chainer/serializers/npz.py", line 150, in load_npz
with numpy.load(file) as f:
File "/home/sungkwonan/.local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 372, in load
fid = open(file, "rb")
IOError: [Errno 21] Is a directory: 'model_epoch_190'
how can i set the trained model?
The text was updated successfully, but these errors were encountered: