- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi i am trying to run object_detection_ssd sample which is working fine but i have to execute setupvars.bat file every time to load environment variables for openvino, is there any way i can pre load these variables with python script.
i also tried something like this example https://stackoverflow.com/questions/5971312/how-to-set-environment-variables-in-python
i have also attached my script
please have a look
Thanks & Reagrds
Amit
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi AR92,
Thanks for reaching out. You are correct, the error is due to the environment variables not being set. I am assuming you are using Windows as you referred to the .bat file.
Take a look at the following document to set the OpenVINO Toolkit environment variable permanent.
If by any chance you are on Linux, simply append the source /opt/intel/openvino/bin/setupvars.sh command in your ~/.bashrc file.
Please let me know if this is answers your question.
Regards,
Jesus
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi AR92,
To permanently set OpenVINO environment variables on Windows 10, follow this guide:
Best Regards,
Sahira
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi AR92,
Thanks for reaching out. You are correct, the error is due to the environment variables not being set. I am assuming you are using Windows as you referred to the .bat file.
Take a look at the following document to set the OpenVINO Toolkit environment variable permanent.
If by any chance you are on Linux, simply append the source /opt/intel/openvino/bin/setupvars.sh command in your ~/.bashrc file.
Please let me know if this is answers your question.
Regards,
Jesus
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
hi thanks for your reply,it works now i was also trying yesterday setting variables manually but some reference error, thank for sharing the link.
one more thing i need some guidance in, i have a c sharp winform app , can i somehow manage to use c++ sample to create a library for c#,
Regards
Amit
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi AR92,
Please see the response above. If you have any questions, please open a new thread.
Thank you!
Sahira
