Browse Source

Merge pull request #56 from channeladam/master

Fix initial basic setup / new starter issues
5.0
Glenn Jocher GitHub 4 years ago
parent
commit
9bf35e7b86
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions
  1. +6
    -4
      requirements.txt
  2. +2
    -1
      weights/download_weights.sh

+ 6
- 4
requirements.txt View File

@@ -1,14 +1,16 @@
# pip install -U -r requirements.txt
numpy==1.17
Cython
numpy
opencv-python
torch >= 1.5
matplotlib
pycocotools
tqdm
pillow
tensorboard
pyyaml

torchvision
scipy
tqdm
'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'

# Nvidia Apex (optional) for mixed precision training --------------------------
# git clone https://github.com/NVIDIA/apex && cd apex && pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" . --user && cd .. && rm -rf apex

+ 2
- 1
weights/download_weights.sh View File

@@ -4,4 +4,5 @@
python3 -c "from utils.google_utils import *;
attempt_download('weights/yolov5s.pt');
attempt_download('weights/yolov5m.pt');
attempt_download('weights/yolov5l.pt')"
attempt_download('weights/yolov5l.pt');
attempt_download('weights/yolov5x.pt')"

Loading…
Cancel
Save