|
|
@@ -1,5 +1,5 @@ |
|
|
|
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch |
|
|
|
FROM nvcr.io/nvidia/pytorch:20.11-py3 |
|
|
|
FROM nvcr.io/nvidia/pytorch:20.10-py3 |
|
|
|
|
|
|
|
# Install dependencies |
|
|
|
RUN pip install --upgrade pip |
|
|
@@ -28,7 +28,7 @@ COPY . /usr/src/app |
|
|
|
# for v in {300..303}; do t=ultralytics/coco:v$v && sudo docker build -t $t . && sudo docker push $t; done |
|
|
|
|
|
|
|
# Pull and Run |
|
|
|
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host $t |
|
|
|
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host --gpus all $t |
|
|
|
|
|
|
|
# Pull and Run with local directory access |
|
|
|
# t=ultralytics/yolov5:latest && sudo docker pull $t && sudo docker run -it --ipc=host --gpus all -v "$(pwd)"/coco:/usr/src/coco $t |