- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attempting to convert a tensorflow graph to a valid intermediate representation for use with the inference engine. I get the following internal error
[ ERROR ] ------------------------------------------------- [ ERROR ] ----------------- INTERNAL ERROR ---------------- [ ERROR ] Unexpected exception happened. [ ERROR ] Please contact Model Optimizer developers and forward the following information: [ ERROR ] [Errno 13] Permission denied: 'C:\\Program Files (x86)\\IntelSWTools\\openvino\\deployment_tools\\model_optimizer\\.\\inference_graph.bin' [ ERROR ] Traceback (most recent call last): File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\main.py", line 298, in main return driver(argv) File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\main.py", line 247, in driver is_binary=not argv.input_model_is_text) File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\pipeline\tf.py", line 237, in tf2nx meta_info=meta_info) File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\pipeline\common.py", line 132, in prepare_emit_ir serialize_constants(graph, bin_file) File "C:\Program Files (x86)\IntelSWTools\openvino\deployment_tools\model_optimizer\mo\back\ie_ir_ver_2\emitter.py", line 41, in serialize_constants with open(bin_file_name, 'wb') as bin_file: PermissionError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\IntelSWTools\\openvino\\deployment_tools\\model_optimizer\\.\\inference_graph.bin' [ ERROR ] ---------------- END OF BUG REPORT -------------- [ ERROR ] -------------------------------------------------
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Patel, D,
As the error "Permission denied: 'C:\\Program Files (x86)\\IntelSWTools\\openvino\\deployment_tools\\model_optimizer\\.\\inference_graph.bin'" suggests, it looks like there is an issue with writing permissions on the directory you are converting the model.
Since you are using Windows, I could suggest two things:
- Open a Command Prompt and run as Administrator so it can write to such directory
- Change to a directory that doesn't need Admin rights to write to it, for example C:\Users\your-username\Downloads
Please give it a try and let me know if the issue persists.
Regards,
Luis
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page