Browse Source

PyTorch 1.6.0 update with native AMP (#573)

5.0
Glenn Jocher GitHub 4 years ago
parent
commit
8bf3cff875
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Dockerfile

+ 4
- 4
Dockerfile View File

@@ -1,6 +1,9 @@
# Start FROM Nvidia PyTorch image https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
FROM nvcr.io/nvidia/pytorch:20.03-py3
RUN pip install -U gsutil

# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt gsutil

# Create working directory
RUN mkdir -p /usr/src/app
@@ -9,9 +12,6 @@ WORKDIR /usr/src/app
# Copy contents
COPY . /usr/src/app

# Install dependencies (pip or conda)
#RUN pip install -r requirements.txt

# Copy weights
#RUN python3 -c "from models import *; \
#attempt_download('weights/yolov5s.pt'); \

Loading…
Cancel
Save