ifzhang / ByteTrack

[ECCV 2022] ByteTrack: Multi-Object Tracking by Associating Every Detection Box
MIT License
4.69k stars 890 forks source link

Docker-Error: could not select device driver with GPU capabilities #302

Open Bumpeet opened 1 year ago

Bumpeet commented 1 year ago

"docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]."

I got the above error when running the below mentioned command

docker run --gpus all -it --rm \ -v $PWD/pretrained:/workspace/ByteTrack/pretrained \ -v $PWD/datasets:/workspace/ByteTrack/datasets \ -v $PWD/YOLOX_outputs:/workspace/ByteTrack/YOLOX_outputs \ -v /tmp/.X11-unix/:/tmp/.X11-unix:rw \ --device /dev/video0:/dev/video0:mwr \ --net=host \ -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR \ -e DISPLAY=$DISPLAY \ --privileged \ bytetrack:latest

Please solve this issue

Here are my device specs

image