Browse Source

Update requirements.txt (#2021)

* Update requirements.txt

* Update ci-testing.yml

* Update hubconf.py
5.0
Glenn Jocher GitHub 3 years ago
parent
commit
9a3da79b4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      .github/workflows/ci-testing.yml
  2. +1
    -1
      hubconf.py
  3. +1
    -1
      requirements.txt

+ 1
- 0
.github/workflows/ci-testing.yml View File

python test.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --device $di python test.py --img 128 --batch 16 --weights weights/${{ matrix.model }}.pt --device $di
python test.py --img 128 --batch 16 --weights runs/train/exp/weights/last.pt --device $di python test.py --img 128 --batch 16 --weights runs/train/exp/weights/last.pt --device $di


python hubconf.py # hub
python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect python models/yolo.py --cfg models/${{ matrix.model }}.yaml # inspect
python models/export.py --img 128 --batch 1 --weights weights/${{ matrix.model }}.pt # export python models/export.py --img 128 --batch 1 --weights weights/${{ matrix.model }}.pt # export
shell: bash shell: bash

+ 1
- 1
hubconf.py View File



imgs = [Image.open(x) for x in Path('data/images').glob('*.jpg')] imgs = [Image.open(x) for x in Path('data/images').glob('*.jpg')]
results = model(imgs) results = model(imgs)
results.show()
results.print() results.print()
results.save()

+ 1
- 1
requirements.txt View File

numpy>=1.18.5 numpy>=1.18.5
opencv-python>=4.1.2 opencv-python>=4.1.2
Pillow Pillow
PyYAML>=5.3
PyYAML>=3.13
scipy>=1.4.1 scipy>=1.4.1
tensorboard>=2.2 tensorboard>=2.2
torch>=1.7.0 torch>=1.7.0

Loading…
Cancel
Save