Prepare a GPU card, and the computer configuration is good!

Install the Docker environment, preferably at least version 19.

Download yolov5 docker image, command:

docker pull ultralytics/yolov5

Then the long wait starts to run the container command to start the container using GPU this time

docker run –ipc=host –gpus all -it ultralytics/yolov5:latest

Current working directory: /usr/local/app

Start identifying, this time using the online video address:

Python detect. Py — — source vd3.bdstatic.com/mda-km7nk7i…

The results are as follows:

Programmers see journey to the West with YOLO can identify the monster code? – Video of millennium Code Nonwww.zhihu.com/zvideo/1393…