glenn-jocher
commited on
Commit
β’
07221f1
1
Parent(s):
18b5081
FROM nvcr.io/nvidia/pytorch:21.10-py3 (#6677)
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# YOLOv5 π by Ultralytics, GPL-3.0 license
|
2 |
|
3 |
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
4 |
-
FROM nvcr.io/nvidia/pytorch:
|
5 |
|
6 |
# Install linux packages
|
7 |
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
@@ -10,8 +10,8 @@ RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
|
10 |
COPY requirements.txt .
|
11 |
RUN python -m pip install --upgrade pip
|
12 |
RUN pip uninstall -y torch torchvision torchtext
|
13 |
-
RUN pip install --no-cache
|
14 |
-
|
15 |
# RUN pip install --no-cache -U torch torchvision
|
16 |
|
17 |
# Create working directory
|
|
|
1 |
# YOLOv5 π by Ultralytics, GPL-3.0 license
|
2 |
|
3 |
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
4 |
+
FROM nvcr.io/nvidia/pytorch:21.10-py3
|
5 |
|
6 |
# Install linux packages
|
7 |
RUN apt update && apt install -y zip htop screen libgl1-mesa-glx
|
|
|
10 |
COPY requirements.txt .
|
11 |
RUN python -m pip install --upgrade pip
|
12 |
RUN pip uninstall -y torch torchvision torchtext
|
13 |
+
RUN pip install --no-cache -r requirements.txt albumentations wandb gsutil notebook \
|
14 |
+
torch==1.10.2+cu113 torchvision==0.11.3+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
15 |
# RUN pip install --no-cache -U torch torchvision
|
16 |
|
17 |
# Create working directory
|