Article ID: 000088951 Content Type: Error Messages Last Reviewed: 04/05/2022

Unable to Run YoloV4 Model with Object Detection Python* Demo on Windows* Subsystem for Linux* 2 (WSL2)

Environment

WSL2, Windows 10

Windows® 10, 64-bit*

BUILT IN - ARTICLE INTRO SECOND COMPONENT
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.

  1. Install MobaXterm, which displays the result window.
  2. Launch WSL2 from MobaXterm.

Related Products

This article applies to 1 products