- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
openvino_env) sarath@sarath:~/coredla_work/demo/open_model_zoo$ omz_converter --name resnet-50-tf \
> --download_dir $COREDLA_WORK/demo/models/ \
> --output_dir $COREDLA_WORK/demo/models/
========== Converting resnet-50-tf to IR (FP16)
Conversion command: /usr/bin/python3 -- /home/sarath/.local/bin/mo --framework=tf --output_dir=/home/sarath/coredla_work/demo/models/public/resnet-50-tf/FP16 --model_name=resnet-50-tf --input=map/TensorArrayStack/TensorArrayGatherV3 '--mean_values=[123.68,116.78,103.94]' --output=softmax_tensor --input_model=/home/sarath/coredla_work/demo/models/public/resnet-50-tf/resnet_v1-50.pb --reverse_input_channels '--layout=map/TensorArrayStack/TensorArrayGatherV3(NHWC)' '--input_shape=[1, 224, 224, 3]' --compress_to_fp16=True
[ ERROR ] -------------------------------------------------
[ ERROR ] ----------------- INTERNAL ERROR ----------------
[ ERROR ] Unexpected exception happened.
[ ERROR ] Please contact Model Optimizer developers and forward the following information:
[ ERROR ] load(): incompatible function arguments. The following argument types are supported:
1. (self: openvino._pyopenvino.FrontEnd, path: object) -> ov::frontend::InputModel
Invoked with: <FrontEnd 'tf'>, '/home/sarath/coredla_work/demo/models/public/resnet-50-tf/resnet_v1-50.pb', False
[ ERROR ] Traceback (most recent call last):
File "/home/sarath/.local/lib/python3.8/site-packages/openvino/tools/mo/convert_impl.py", line 896, in _convert
ov_model, legacy_path = driver(argv, {"conversion_parameters": non_default_params})
File "/home/sarath/.local/lib/python3.8/site-packages/openvino/tools/mo/convert_impl.py", line 559, in driver
graph, ngraph_function = prepare_ir(argv)
File "/home/sarath/.local/lib/python3.8/site-packages/openvino/tools/mo/convert_impl.py", line 413, in prepare_ir
ngraph_function = moc_pipeline(argv, moc_front_end)
File "/home/sarath/.local/lib/python3.8/site-packages/openvino/tools/mo/moc_frontend/pipeline.py", line 56, in moc_pipeline
input_model = moc_front_end.load(argv.input_model, share_weights)
TypeError: load(): incompatible function arguments. The following argument types are supported:
1. (self: openvino._pyopenvino.FrontEnd, path: object) -> ov::frontend::InputModel
Invoked with: <FrontEnd 'tf'>, '/home/sarath/coredla_work/demo/models/public/resnet-50-tf/resnet_v1-50.pb', False
[ ERROR ] ---------------- END OF BUG REPORT --------------
[ ERROR ] -------------------------------------------------
[ INFO ] You can also try to use legacy TensorFlow Frontend by using argument --use_legacy_frontend.
FAILED:
resnet-50-tf
WARNING:root:Failed to send event with the following error: Object of type type is not JSON serializable
THIS KIND OF ERROR IS COMING WHEN WORKING ON FPGA AI SUITE
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sarathfv, Thank you for posting in the Intel® Communities Support.
I just transferred your thread to the proper department. They will further assist you with this matter as soon as possible.
Regards,
Albert R.
Intel Customer Support Technician
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page