代码拉取完成,页面将自动刷新
同步操作将从 monkey_cici/Yolov5_DeepSort_Pytorch 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# build the image and tag it for easier later reference
# docker build -t mikel-brostrom/yolov5_strongsort_osnet .
# Base image: Nvidia PyTorch https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
FROM nvcr.io/nvidia/pytorch:22.11-py3
# Update image
RUN apt update
# Install pip packages
COPY requirements.txt .
RUN python -m pip install --upgrade pip setuptools wheel
RUN pip uninstall -y torch torchvision
RUN pip install --no-cache -r requirements.txt
# Create working directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Clone with submodules
RUN git clone --recurse-submodules https://github.com/mikel-brostrom/Yolov5_StrongSORT_OSNet.git /usr/src/app
# ------------------------------------------------------------------------------
# A docker container exits when its main process finishes, which in this case is bash.
# This means that the containers will stop once you exit them and everything will be lost.
# To avoid this use detach mode. More on this in the next paragraph
#
# - run interactively with all GPUs accessible:
#
# docker run -it --gpus all mikel-brostrom/yolov5_strongsort_osnet bash
#
# - run interactively with first and third GPU accessible:
#
# docker run -it --gpus '"device=0, 2"' mikel-brostrom/yolov5_strongsort_osnet bash
# Run in detached mode (if you exit the container it won't stop)
#
# -create a detached docker container from an image:
#
# docker run -it --gpus all -d mikel-brostrom/yolov5_strongsort_osnet
#
# - this will return a <container_id> number which makes it accessible. Access it by:
#
# docker exec -it <container_id>
#
# - When you are done with the container stop it by:
#
# docker stop <container_id>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。