解决PermissionError: [Errno 13] Permission denied:

  • Post author:
  • Post category:其他




windows PermissionError: [Errno 13] Permission denied:



报错信息
[ 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_2020.4.287\\deployment_tools\\model_optimizer\\.\\yolov3.bin'
[ ERROR ]  Traceback (most recent call last):
  File "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.287\deployment_tools\model_optimizer\mo\main.py", line 309, in main
    ret_code = driver(argv)
  File "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.287\deployment_tools\model_optimizer\mo\main.py", line 270, in driver
    ret_res = emit_ir(prepare_ir(argv), argv)
  File "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.287\deployment_tools\model_optimizer\mo\main.py", line 254, in emit_ir
    meta_info=get_meta_info(argv))
  File "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.287\deployment_tools\model_optimizer\mo\pipeline\common.py", line 223, in prepare_emit_ir
    serialize_constants(graph, bin_file)
  File "C:\Program Files (x86)\IntelSWTools\openvino_2020.4.287\deployment_tools\model_optimizer\mo\back\ie_ir_ver_2\emitter.py", line 43, in serialize_constants
    with open(bin_file_name, 'wb') as bin_file:
PermissionError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\IntelSWTools\\openvino_2020.4.287\\deployment_tools\\model_optimizer\\.\\yolov3.bin'

[ ERROR ]  ---------------- END OF BUG REPORT --------------
[ ERROR ]  -------------------------------------------------



解决办法
以管理员身份运行cmd

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-ldpp5OsK-1601367708849)(evernotecid://A7BA1EDC-F70B-4A16-ABAA-EDD379BB023D/appyinxiangcom/29884553/ENResource/p22)]



欢迎大家交流学习,任何问题都可以留言



版权声明:本文为weixin_41194171原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。