Summary
Steps to run Object Detection Python Demo with custom YoloV4 model on WSL2.
Description
- Ran object detection python demo on WSL2.
- Encountered error when running object_detection_demo.py with CPU:
- OpenCV: FFMPEG: tag 0x47504a4d/'MJPG' is not supported with codec id 7 and format 'mp4 / MP4 (MPEG-4 Part 14)'
- OpenCV: FFMPEG: fallback to use tag 0x7634706d/'mp4v'
- Encountered error when running on GPU:
RuntimeError: Failed to create plugin /opt/intel/openvino_2021/deployment_tools/inference_engine/lib/intel64/libclDNNPlugin.so for device GPU
Please, check your environment
[CLDNN ERROR]. clGetPlatformIDs error -1001
Resolution
Directly launching the demo in the WSL2 terminal will not prompt the result window.
- Install MobaXterm, which displays the result window.
- Launch WSL2 from MobaXterm.