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
Traceback (most recent call last):
File "test_recog.py", line 17, in
torch_pprecog_bin = ppRecog(torch_model_file,keys_file)
File "/home/aistudio/work/ocrRecog/infer.py", line 33, in init
weights = torch.load(model_path,map_location='cpu')
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 210, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './ocrRecog/new_model_dir/recog.pth'
Traceback (most recent call last):
File "test_serviceOCRModule.py", line 36, in
pprecog_bin = ppRecogOpenvino(recog_model_file,recog_keys_file)
File "/home/aistudio/work/serviceOCRModule/ocrRecog/infer.py", line 87, in init
model_ir = ie.read_model(model=model_path)
RuntimeError: Check 'false' failed at src/inference/src/core.cpp:100:
[ NETWORK_NOT_READ ] Unable to read the model: ./serviceOCRModule/ocrRecog/openvino_dir/recog.xml Please check that model format: xml is supported and the model is correct. Available frontends: pytorch onnx ir tf paddle tflite
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "test_recog.py", line 17, in
torch_pprecog_bin = ppRecog(torch_model_file,keys_file)
File "/home/aistudio/work/ocrRecog/infer.py", line 33, in init
weights = torch.load(model_path,map_location='cpu')
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/torch/serialization.py", line 210, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './ocrRecog/new_model_dir/recog.pth'
Traceback (most recent call last):
File "test_serviceOCRModule.py", line 36, in
pprecog_bin = ppRecogOpenvino(recog_model_file,recog_keys_file)
File "/home/aistudio/work/serviceOCRModule/ocrRecog/infer.py", line 87, in init
model_ir = ie.read_model(model=model_path)
RuntimeError: Check 'false' failed at src/inference/src/core.cpp:100:
[ NETWORK_NOT_READ ] Unable to read the model: ./serviceOCRModule/ocrRecog/openvino_dir/recog.xml Please check that model format: xml is supported and the model is correct. Available frontends: pytorch onnx ir tf paddle tflite
The text was updated successfully, but these errors were encountered: