|
|
|
|
|
|
|
|
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license |
|
|
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license |
|
|
|
|
|
|
|
|
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch |
|
|
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch |
|
|
FROM nvcr.io/nvidia/pytorch:22.01-py3 |
|
|
|
|
|
|
|
|
FROM nvcr.io/nvidia/pytorch:21.10-py3 |
|
|
|
|
|
|
|
|
# Install linux packages |
|
|
# Install linux packages |
|
|
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx |
|
|
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx |
|
|
|
|
|
|
|
|
COPY requirements.txt . |
|
|
COPY requirements.txt . |
|
|
RUN python -m pip install --upgrade pip |
|
|
RUN python -m pip install --upgrade pip |
|
|
RUN pip uninstall -y torch torchvision torchtext |
|
|
RUN pip uninstall -y torch torchvision torchtext |
|
|
RUN pip install --no-cache torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html |
|
|
|
|
|
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook |
|
|
|
|
|
|
|
|
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook \ |
|
|
|
|
|
torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html |
|
|
# RUN pip install --no-cache -U torch torchvision |
|
|
# RUN pip install --no-cache -U torch torchvision |
|
|
|
|
|
|
|
|
# Create working directory |
|
|
# Create working directory |