์ฝ˜ํ…์ธ ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ

Docker ๋น ๋ฅธ ์‹œ์ž‘ ๊ฐ€์ด๋“œ Ultralytics

Ultralytics ๋„์ปค ํŒจํ‚ค์ง€ ๋น„์ฃผ์–ผ

์ด ๊ฐ€์ด๋“œ๋Š” Ultralytics ํ”„๋กœ์ ํŠธ๋ฅผ ์œ„ํ•œ Docker ํ™˜๊ฒฝ ์„ค์ •์— ๋Œ€ํ•œ ํฌ๊ด„์ ์ธ ์†Œ๊ฐœ ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค. Docker๋Š” ์ปจํ…Œ์ด๋„ˆ์—์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœ, ๋ฐฐํฌ ๋ฐ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ํ”Œ๋žซํผ์ž…๋‹ˆ๋‹ค. ํŠนํžˆ ์†Œํ”„ํŠธ์›จ์–ด๊ฐ€ ๋ฐฐํฌ๋˜๋Š” ์œ„์น˜์— ๊ด€๊ณ„์—†์ด ํ•ญ์ƒ ๋™์ผํ•˜๊ฒŒ ์‹คํ–‰๋˜๋„๋ก ํ•˜๋Š” ๋ฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ Docker Hub์˜ Ultralytics Docker ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

๋„์ปค ์ด๋ฏธ์ง€ ๋ฒ„์ „ ๋„์ปค ํ’€

ํ•™์Šต ๋‚ด์šฉ

  • NVIDIA ์ง€์›์œผ๋กœ Docker ์„ค์ •ํ•˜๊ธฐ
  • Ultralytics ๋„์ปค ์ด๋ฏธ์ง€ ์„ค์น˜
  • CPU ๋˜๋Š” GPU๋ฅผ ์ง€์›ํ•˜๋Š” Docker ์ปจํ…Œ์ด๋„ˆ์—์„œ Ultralytics ์‹คํ–‰ํ•˜๊ธฐ
  • Docker์™€ ํ•จ๊ป˜ ๋””์Šคํ”Œ๋ ˆ์ด ์„œ๋ฒ„๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ Ultralytics ํƒ์ง€ ๊ฒฐ๊ณผ ํ‘œ์‹œํ•˜๊ธฐ
  • ์ปจํ…Œ์ด๋„ˆ์— ๋กœ์ปฌ ๋””๋ ‰ํ„ฐ๋ฆฌ ๋งˆ์šดํŠธ

์ „์ œ ์กฐ๊ฑด

  • ์‹œ์Šคํ…œ์— Docker๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•˜์„ธ์š”. ์„ค์น˜๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ Docker ์›น์‚ฌ์ดํŠธ์—์„œ ๋‹ค์šด๋กœ๋“œํ•˜์—ฌ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์‹œ์Šคํ…œ์— NVIDIA GPU๊ฐ€ ์žˆ๊ณ  NVIDIA ๋“œ๋ผ์ด๋ฒ„๊ฐ€ ์„ค์น˜๋˜์–ด ์žˆ๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.

NVIDIA ์ง€์›์œผ๋กœ Docker ์„ค์ •ํ•˜๊ธฐ

๋จผ์ € NVIDIA ๋“œ๋ผ์ด๋ฒ„๋ฅผ ์‹คํ–‰ํ•˜์—ฌ ๋“œ๋ผ์ด๋ฒ„๊ฐ€ ์ œ๋Œ€๋กœ ์„ค์น˜๋˜์—ˆ๋Š”์ง€ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค:

nvidia-smi

NVIDIA ๋„์ปค ๋Ÿฐํƒ€์ž„ ์„ค์น˜

์ด์ œ ๋„์ปค ์ปจํ…Œ์ด๋„ˆ์—์„œ GPU ์ง€์›์„ ํ™œ์„ฑํ™”ํ•˜๊ธฐ ์œ„ํ•ด NVIDIA ๋„์ปค ๋Ÿฐํƒ€์ž„์„ ์„ค์น˜ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค:

# Add NVIDIA package repositories
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
distribution=$(lsb_release -cs)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

# Install NVIDIA Docker runtime
sudo apt-get update
sudo apt-get install -y nvidia-docker2

# Restart Docker service to apply changes
sudo systemctl restart docker

๋„์ปค๋กœ NVIDIA ๋Ÿฐํƒ€์ž„ ํ™•์ธ

์‹คํ–‰ docker info | grep -i runtime ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ nvidia ๊ฐ€ ๋Ÿฐํƒ€์ž„ ๋ชฉ๋ก์— ๋‚˜ํƒ€๋‚ฉ๋‹ˆ๋‹ค:

docker info | grep -i runtime

Ultralytics ๋„์ปค ์ด๋ฏธ์ง€ ์„ค์น˜

Ultralytics ๋Š” ๋‹ค์–‘ํ•œ ํ”Œ๋žซํผ๊ณผ ์‚ฌ์šฉ ์‚ฌ๋ก€์— ์ตœ์ ํ™”๋œ ์—ฌ๋Ÿฌ Docker ์ด๋ฏธ์ง€๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค:

  • ๋„์ปคํŒŒ์ผ: ๊ต์œก์— ์ด์ƒ์ ์ธ GPU ์ด๋ฏธ์ง€์ž…๋‹ˆ๋‹ค.
  • ๋„์ปคํŒŒ์ผ-arm64: ARM64 ์•„ํ‚คํ…์ฒ˜์˜ ๊ฒฝ์šฐ, ๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด์™€ ๊ฐ™์€ ์žฅ์น˜์— ์ ํ•ฉํ•ฉ๋‹ˆ๋‹ค.
  • Dockerfile-cpu: ์ถ”๋ก  ๋ฐ ๋น„ GPU ํ™˜๊ฒฝ์„ ์œ„ํ•œ CPU ์ „์šฉ ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.
  • ๋„์ปคํŒŒ์ผ-์ ฏ์Šจ: NVIDIA Jetson ์žฅ์น˜์— ์ตœ์ ํ™”๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
  • ๋„์ปคํŒŒ์ผ-python: ๊ฒฝ๋Ÿ‰ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ์œ„ํ•œ ์ตœ์†Œํ•œ์˜ Python ํ™˜๊ฒฝ.
  • ๋„์ปคํŒŒ์ผ-์ฝ˜๋‹ค: ์ฝ˜๋‹ค๋ฅผ ํ†ตํ•ด ์„ค์น˜๋œ ๋ฏธ๋‹ˆ์ฝ˜๋‹ค3 ๋ฐ Ultralytics ํŒจํ‚ค์ง€๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.

์ตœ์‹  ์ด๋ฏธ์ง€๋ฅผ ๊ฐ€์ ธ์˜ค๋ ค๋ฉด

# Set image name as a variable
t=ultralytics/ultralytics:latest

# Pull the latest Ultralytics image from Docker Hub
sudo docker pull $t

๋„์ปค ์ปจํ…Œ์ด๋„ˆ์—์„œ Ultralytics ์‹คํ–‰

Ultralytics ๋„์ปค ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

CPU๋งŒ ์‚ฌ์šฉ

# Run with all GPUs
sudo docker run -it --ipc=host $t

GPU ์‚ฌ์šฉ

# Run with all GPUs
sudo docker run -it --ipc=host --gpus all $t

# Run specifying which GPUs to use
sudo docker run -it --ipc=host --gpus '"device=2,3"' $t

๊ทธ๋ฆฌ๊ณ  -it ํ”Œ๋ž˜๊ทธ๋Š” ์˜์‚ฌ TTY๋ฅผ ํ• ๋‹นํ•˜๊ณ  stdin์„ ์—ด์–ด๋‘์–ด ์ปจํ…Œ์ด๋„ˆ์™€ ์ƒํ˜ธ ์ž‘์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ์ปจํ…Œ์ด๋„ˆ์˜ --ipc=host ํ”Œ๋ž˜๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ํ”„๋กœ์„ธ์Šค ๊ฐ„ ๋ฉ”๋ชจ๋ฆฌ ๊ณต์œ ์— ํ•„์ˆ˜์ ์ธ ํ˜ธ์ŠคํŠธ์˜ IPC ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  --gpus ํ”Œ๋ž˜๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ํ˜ธ์ŠคํŠธ์˜ GPU์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋„์ปค ์ปจํ…Œ์ด๋„ˆ์—์„œ Ultralytics ์‹คํ–‰

Ultralytics ๋„์ปค ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค:

CPU๋งŒ ์‚ฌ์šฉ

# Run with all GPUs
sudo docker run -it --ipc=host $t

GPU ์‚ฌ์šฉ

# Run with all GPUs
sudo docker run -it --ipc=host --gpus all $t

# Run specifying which GPUs to use
sudo docker run -it --ipc=host --gpus '"device=2,3"' $t

๊ทธ๋ฆฌ๊ณ  -it ํ”Œ๋ž˜๊ทธ๋Š” ์˜์‚ฌ TTY๋ฅผ ํ• ๋‹นํ•˜๊ณ  stdin์„ ์—ด์–ด๋‘์–ด ์ปจํ…Œ์ด๋„ˆ์™€ ์ƒํ˜ธ ์ž‘์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค. ์ปจํ…Œ์ด๋„ˆ์˜ --ipc=host ํ”Œ๋ž˜๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ํ”„๋กœ์„ธ์Šค ๊ฐ„ ๋ฉ”๋ชจ๋ฆฌ ๊ณต์œ ์— ํ•„์ˆ˜์ ์ธ ํ˜ธ์ŠคํŠธ์˜ IPC ๋„ค์ž„์ŠคํŽ˜์ด์Šค๋ฅผ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฆฌ๊ณ  --gpus ํ”Œ๋ž˜๊ทธ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ํ˜ธ์ŠคํŠธ์˜ GPU์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํŒŒ์ผ ์ ‘๊ทผ์„ฑ ๊ด€๋ จ ์ฐธ๊ณ  ์‚ฌํ•ญ

์ปจํ…Œ์ด๋„ˆ ๋‚ด์—์„œ ๋กœ์ปฌ ๋จธ์‹ ์˜ ํŒŒ์ผ๋กœ ์ž‘์—…ํ•˜๋ ค๋ฉด Docker ๋ณผ๋ฅจ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

# Mount a local directory into the container
sudo docker run -it --ipc=host --gpus all -v /path/on/host:/path/in/container $t

๊ต์ฒด /path/on/host ๋ฅผ ๋กœ์ปฌ ์ปดํ“จํ„ฐ์˜ ๋””๋ ‰ํ„ฐ๋ฆฌ ๊ฒฝ๋กœ์™€ /path/in/container ๋ฅผ Docker ์ปจํ…Œ์ด๋„ˆ ๋‚ด๋ถ€์— ์›ํ•˜๋Š” ๊ฒฝ๋กœ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

Docker ์ปจํ…Œ์ด๋„ˆ์—์„œ ๊ทธ๋ž˜ํ”ฝ ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค(GUI) ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰ํ•˜๊ธฐ

๋งค์šฐ ์‹คํ—˜์  - ์‚ฌ์šฉ์ž๊ฐ€ ๋ชจ๋“  ์œ„ํ—˜ ๋ถ€๋‹ด

๋‹ค์Œ ์ง€์นจ์€ ์‹คํ—˜ ๋‹จ๊ณ„์ž…๋‹ˆ๋‹ค. X11 ์†Œ์ผ“์„ Docker ์ปจํ…Œ์ด๋„ˆ์™€ ๊ณต์œ ํ•˜๋ฉด ์ž ์žฌ์ ์ธ ๋ณด์•ˆ ์œ„ํ—˜์ด ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ ์ด ์†”๋ฃจ์…˜์€ ํ†ต์ œ๋œ ํ™˜๊ฒฝ์—์„œ๋งŒ ํ…Œ์ŠคํŠธํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค. ์ž์„ธํ•œ ๋‚ด์šฉ์€ ๋‹ค์Œ ์‚ฌ์šฉ ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ๋ฆฌ์†Œ์Šค๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”. xhost(1)(2).

Docker is primarily used to containerize background applications and CLI programs, but it can also run graphical programs. In the Linux world, two main graphic servers handle graphical display: X11 (also known as the X Window System) and Wayland. Before starting, it's essential to determine which graphics server you are currently using. Run this command to find out:

env | grep -E -i 'x11|xorg|wayland'

X11 ๋˜๋Š” Wayland ๋””์Šคํ”Œ๋ ˆ์ด ์„œ๋ฒ„์˜ ์„ค์ • ๋ฐ ๊ตฌ์„ฑ์€ ์ด ๊ฐ€์ด๋“œ์˜ ๋ฒ”์œ„๋ฅผ ๋ฒ—์–ด๋‚ฉ๋‹ˆ๋‹ค. ์œ„์˜ ๋ช…๋ น์ด ์•„๋ฌด๊ฒƒ๋„ ๋ฐ˜ํ™˜ํ•˜์ง€ ์•Š๋Š”๋‹ค๋ฉด ๊ณ„์†ํ•˜๊ธฐ ์ „์— ์‹œ์Šคํ…œ์—์„œ ์ž‘๋™ํ•˜๋Š” ๊ฒƒ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

GUI๋กœ Docker ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ํ•˜๊ธฐ

์˜ˆ

GPU ์‚ฌ์šฉ
If you're using [GPUs](#using-gpus), you can add the `--gpus all` flag to the command.

X11์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์—ฌ Docker ์ปจํ…Œ์ด๋„ˆ๊ฐ€ X11 ์†Œ์ผ“์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋„๋ก ํ—ˆ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

xhost +local:docker && docker run -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v ~/.Xauthority:/root/.Xauthority \
-it --ipc=host $t

์ด ๋ช…๋ น์€ DISPLAY ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ํ˜ธ์ŠคํŠธ์˜ ๋””์Šคํ”Œ๋ ˆ์ด์— ๋งคํ•‘ํ•˜๊ณ , X11 ์†Œ์ผ“์„ ๋งˆ์šดํŠธํ•˜๊ณ , ํ˜ธ์ŠคํŠธ์˜ ๋””์Šคํ”Œ๋ ˆ์ด์— .Xauthority ํŒŒ์ผ์„ ์ปจํ…Œ์ด๋„ˆ์— ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์ปจํ…Œ์ด๋„ˆ์˜ xhost +local:docker ๋ช…๋ น์œผ๋กœ Docker ์ปจํ…Œ์ด๋„ˆ๊ฐ€ X11 ์„œ๋ฒ„์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Wayland์˜ ๊ฒฝ์šฐ ๋‹ค์Œ ๋ช…๋ น์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค:

xhost +local:docker && docker run -e DISPLAY=$DISPLAY \
-v $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/$WAYLAND_DISPLAY \
--net=host -it --ipc=host $t

์ด ๋ช…๋ น์€ DISPLAY ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ํ˜ธ์ŠคํŠธ์˜ ๋””์Šคํ”Œ๋ ˆ์ด์— ์„ค์ •ํ•˜๊ณ , Wayland ์†Œ์ผ“์„ ๋งˆ์šดํŠธํ•˜๊ณ , Docker ์ปจํ…Œ์ด๋„ˆ๊ฐ€ Wayland ์„œ๋ฒ„์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.

GUI์™€ ํ•จ๊ป˜ Docker ์‚ฌ์šฉ

์ด์ œ Docker ์ปจํ…Œ์ด๋„ˆ ๋‚ด์—์„œ ๊ทธ๋ž˜ํ”ฝ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ํ‘œ์‹œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด ๋‹ค์Œ CLI ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์—ฌ YOLOv8 ๋ชจ๋ธ์˜ ์˜ˆ์ธก์„ ์‹œ๊ฐํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

yolo predict model=yolov8n.pt show=True
ํ…Œ์ŠคํŠธ

Docker ๊ทธ๋ฃน์ด X11 ์„œ๋ฒ„์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋Š”์ง€ ํ™•์ธํ•˜๋Š” ๊ฐ„๋‹จํ•œ ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์€ GUI ํ”„๋กœ๊ทธ๋žจ์œผ๋กœ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์‹คํ–‰ํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. xclock ๋˜๋Š” xeyes. ๋˜๋Š” Ultralytics ๋„์ปค ์ปจํ…Œ์ด๋„ˆ์— ์ด๋Ÿฌํ•œ ํ”„๋กœ๊ทธ๋žจ์„ ์„ค์น˜ํ•˜์—ฌ GNU-Linux ๋””์Šคํ”Œ๋ ˆ์ด ์„œ๋ฒ„์˜ X11 ์„œ๋ฒ„์— ๋Œ€ํ•œ ์•ก์„ธ์Šค๋ฅผ ํ…Œ์ŠคํŠธํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๋ฉด ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์„ค์ •ํ•ด ๋ณด์„ธ์š”. -e QT_DEBUG_PLUGINS=1. ์ด ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์„ค์ •ํ•˜๋ฉด ๋””๋ฒ„๊น… ์ •๋ณด๋ฅผ ์ถœ๋ ฅํ•  ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ ๋ฌธ์ œ ํ•ด๊ฒฐ ํ”„๋กœ์„ธ์Šค์— ๋„์›€์ด ๋ฉ๋‹ˆ๋‹ค.

Docker GUI๋ฅผ ์™„๋ฃŒํ•˜๋ฉด

์•ก์„ธ์Šค ๊ถŒํ•œ ์ทจ์†Œ

๋‘ ๊ฒฝ์šฐ ๋ชจ๋‘ ์ž‘์—…์ด ๋๋‚˜๋ฉด Docker ๊ทธ๋ฃน์—์„œ ์•ก์„ธ์Šค ๊ถŒํ•œ์„ ์ทจ์†Œํ•˜๋Š” ๊ฒƒ์„ ์žŠ์ง€ ๋งˆ์„ธ์š”.

xhost -local:docker
ํ„ฐ๋ฏธ๋„์—์„œ ์ด๋ฏธ์ง€ ๊ฒฐ๊ณผ๋ฅผ ๋ฐ”๋กœ ํ™•์ธํ•˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”?

๋‹จ๋ง๊ธฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฏธ์ง€ ๊ฒฐ๊ณผ๋ฅผ ๋ณด๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ ๊ฐ€์ด๋“œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.


์ถ•ํ•˜ํ•ฉ๋‹ˆ๋‹ค! ์ด์ œ Docker์—์„œ Ultralytics ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค์ •๋˜์—ˆ์œผ๋ฉฐ ๊ฐ•๋ ฅํ•œ ๊ธฐ๋Šฅ์„ ํ™œ์šฉํ•  ์ค€๋น„๊ฐ€ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ์„ค์น˜ ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด๋ ค๋ฉด Ultralytics ๋น ๋ฅธ ์‹œ์ž‘ ๋ฌธ์„œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.



Created 2023-11-12, Updated 2024-06-10
Authors: glenn-jocher (6), Burhan-Q (1), jpedrofonseca_94@hotmail.com (1)

๋Œ“๊ธ€