解决PermissionError: [Errno 13] Permission denied:

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

解决PermissionError: [Errno 13] Permission denied:_第1张图片

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

你可能感兴趣的:(日常报错,python,cmd,bug)