- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
在使用openvino的量化工具前需要先配置下环境。
在~/intel/openvino/deployment_tools/open_model_zoo/tools/accuracy_checker目录下执行以下命令:
python setup.py install
在~/intel/openvino/deployment_tools/tools/post_training_optimization_toolkit目录下执行以下命令:
python setup.py install
配置好环境后,在终端中就可以直接使用pot指令(在后面量化过程中会使用到):
pot -c <path_to_config_file>
我按照步骤环境配置好了,但是在检查pot是否可用时,输入pot -h,出现了错误ModuleNotFoundError: No module named‘from mo.graph.graph import Node’,在我将mo文件夹复制过去之后出现了ModuleNotFoundError: No module named 'ConfigParser',直接pip安装ConfigParser也没用
有没有遇到一样问题的好兄弟能够说一下怎么解决
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yujf,
Thanks for reaching out to us.
First of all, you’re getting the error: “ModuleNotFoundError: No module named‘from mo.graph.graph import Node” due to you do not update the OpenVINO environment variables (run setupvars.bat). Copying the mo folder is not a proper way, hence results in the next error.
I would suggest you to delete all the copied mo folder and just run setupvars.bat.
Regards,
Peh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yujf,
This thread will no longer be monitored since we have provided a solution. If you need any additional information from Intel, please submit a new question.
Regards,
Peh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page