Simplify Results() class (#4579)
This commit is contained in:
parent
e9f596430f
commit
2db35afad5
4 changed files with 30 additions and 39 deletions
|
|
@ -82,7 +82,8 @@ Ultralytics provides various installation methods including pip, conda, and Dock
|
|||
sudo docker pull $t
|
||||
|
||||
# Run the ultralytics image in a container with GPU support
|
||||
sudo docker run -it --ipc=host --gpus all $t
|
||||
sudo docker run -it --ipc=host --gpus all $t # all GPUs
|
||||
sudo docker run -it --ipc=host --gpus '"device=2,3"' $t # specify GPUs
|
||||
```
|
||||
|
||||
The above command initializes a Docker container with the latest `ultralytics` image. The `-it` flag assigns a pseudo-TTY and maintains stdin open, enabling you to interact with the container. The `--ipc=host` flag sets the IPC (Inter-Process Communication) namespace to the host, which is essential for sharing memory between processes. The `--gpus all` flag enables access to all available GPUs inside the container, which is crucial for tasks that require GPU computation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue