Glenn Jocher
26784afd99
Use YOLOv5n for CI testing ( #5154 )
3 vuotta sitten
Glenn Jocher
cd35a009ba
Revert `torch.hub.load()` test ( #4986 )
Temporarily reverts https://github.com/ultralytics/yolov5/pull/4978 until torch 1.10 is released, which should resolve `urllib.error.HTTPError: HTTP Error 403: rate limit exceeded` errors generated by torch hub from GitHub actions runners.
3 vuotta sitten
Glenn Jocher
0c93ec762a
Faster `--img 64` CI tests ( #4979 )
3 vuotta sitten
Glenn Jocher
94705a9528
Add Hub custom models to CI tests ( #4978 )
* Update ci-testing.yml for Hub custom model tests
* Update ci-testing.yml
3 vuotta sitten
Glenn Jocher
aa1859909c
Update ci-testing.yml ( #4772 )
3 vuotta sitten
Glenn Jocher
b161edf873
Update ci-testing.yml ( #4770 )
3 vuotta sitten
Glenn Jocher
c3a93d783d
Add TensorFlow formats to `export.py` ( #4479 )
* Initial commit
* Remove unused export_torchscript return
* ROOT variable
* Add prefix to fcn arg
* fix ROOT
* check_yaml into run()
* interim fixes
* imgsz=(320, 320)
* Hardcode tf_raw_resize False
* Finish opt elimination
* Update representative_dataset_gen()
* Update export.py with TF methods
* SiLU and GraphDef fixes
* file_size() directory handling feature
* export fixes
* add lambda: to representative_dataset
* Detect training False default
* Fuse false for TF models
* Embed agnostic NMS arguments
* Remove lambda
* TensorFlow.js export success
* Add pb to Usage
* Add *_tfjs_model/ to ignore files
* prepend YOLOv5 to function headers
* Remove end --- comments
* parameterize tfjs export pb file
* update run() data default /ROOT
* update --include help
* update imports
* return ct_model
* Consolidate TFLite export
* pb prerequisite to tfjs
* TF modules CamelCase
* Remove exports from tf.py and cleanup
* pass agnostic NMS arguments
* CI
* CI
* ignore *_web_model/
* Add tensorflow to CI dependencies
* CI tensorflow-cpu
* Update requirements.txt
* Remove tensorflow check_requirement
* CI coreml tfjs
* export only onnx torchscript
* reorder exports torchscript first
3 vuotta sitten
Glenn Jocher
d1182c4f29
`check_requirements(('coremltools',))` ( #4478 )
* `check_requirements(('coremltools',))`
* Update ci-testing.yml
* Update ci-testing.yml
3 vuotta sitten
Glenn Jocher
24bea5e4b7
Standardize headers and docstrings ( #4417 )
* Implement new headers
* Reformat 1
* Reformat 2
* Reformat 3 - math
* Reformat 4 - yaml
3 vuotta sitten
Glenn Jocher
720aaa65c8
Rename `test.py` to `val.py` ( #4000 )
3 vuotta sitten
Glenn Jocher
1f69d12591
Update 4 main ops for paths and .run() ( #3715 )
* Add yolov5/ to path
* rename functions to run()
* cleanup
* rename fix
* CI fix
* cleanup find models/export.py
3 vuotta sitten
Glenn Jocher
5bab9a28e4
Reformat ( #3694 )
3 vuotta sitten
Glenn Jocher
2754adad46
Remove `/weights` directory ( #3659 )
* Remove `/weights` directory
* cleanup
3 vuotta sitten
Glenn Jocher
f3c3d2ce5d
Merge `develop` branch into `master` ( #3518 )
* update ci-testing.yml (#3322 )
* update ci-testing.yml
* update greetings.yml
* bring back os matrix
* update ci-testing.yml (#3322 )
* update ci-testing.yml
* update greetings.yml
* bring back os matrix
* Enable direct `--weights URL` definition (#3373 )
* Enable direct `--weights URL` definition
@KalenMike this PR will enable direct --weights URL definition. Example use case:
```
python train.py --weights https://storage.googleapis.com/bucket/dir/model.pt
```
* cleanup
* bug fixes
* weights = attempt_download(weights)
* Update experimental.py
* Update hubconf.py
* return bug fix
* comment mirror
* min_bytes
* Update tutorial.ipynb (#3368 )
add Open in Kaggle badge
* `cv2.imread(img, -1)` for IMREAD_UNCHANGED (#3379 )
* Update datasets.py
* comment
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
* COCO evolution fix (#3388 )
* COCO evolution fix
* cleanup
* update print
* print fix
* Create `is_pip()` function (#3391 )
Returns `True` if file is part of pip package. Useful for contextual behavior modification.
```python
def is_pip():
# Is file in a pip package?
return 'site-packages' in Path(__file__).absolute().parts
```
* Revert "`cv2.imread(img, -1)` for IMREAD_UNCHANGED (#3379 )" (#3395 )
This reverts commit 21a9607e00
.
* Update FLOPs description (#3422 )
* Update README.md
* Changing FLOPS to FLOPs.
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
* Parse URL authentication (#3424 )
* Parse URL authentication
* urllib.parse.unquote()
* improved error handling
* improved error handling
* remove %3F
* update check_file()
* Add FLOPs title to table (#3453 )
* Suppress jit trace warning + graph once (#3454 )
* Suppress jit trace warning + graph once
Suppress harmless jit trace warning on TensorBoard add_graph call. Also fix multiple add_graph() calls bug, now only on batch 0.
* Update train.py
* Update MixUp augmentation `alpha=beta=32.0` (#3455 )
Per VOC empirical results https://github.com/ultralytics/yolov5/issues/3380#issuecomment-853001307 by @developer0hye
* Add `timeout()` class (#3460 )
* Add `timeout()` class
* rearrange order
* Faster HSV augmentation (#3462 )
remove datatype conversion process that can be skipped
* Add `check_git_status()` 5 second timeout (#3464 )
* Add check_git_status() 5 second timeout
This should prevent the SSH Git bug that we were discussing @KalenMike
* cleanup
* replace timeout with check_output built-in timeout
* Improved `check_requirements()` offline-handling (#3466 )
Improve robustness of `check_requirements()` function to offline environments (do not attempt pip installs when offline).
* Add `output_names` argument for ONNX export with dynamic axes (#3456 )
* Add output names & dynamic axes for onnx export
Add output_names and dynamic_axes names for all outputs in torch.onnx.export. The first four outputs of the model will have names output0, output1, output2, output3
* use first output only + cleanup
Co-authored-by: Samridha Shrestha <samridha.shrestha@g42.ai>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
* Revert FP16 `test.py` and `detect.py` inference to FP32 default (#3423 )
* fixed inference bug ,while use half precision
* replace --use-half with --half
* replace space and PEP8 in detect.py
* PEP8 detect.py
* update --half help comment
* Update test.py
* revert space
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
* Add additional links/resources to stale.yml message (#3467 )
* Update stale.yml
* cleanup
* Update stale.yml
* reformat
* Update stale.yml HUB URL (#3468 )
* Stale `github.actor` bug fix (#3483 )
* Explicit `model.eval()` call `if opt.train=False` (#3475 )
* call model.eval() when opt.train is False
call model.eval() when opt.train is False
* single-line if statement
* cleanup
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
* check_requirements() exclude `opencv-python` (#3495 )
Fix for 3rd party or contrib versions of installed OpenCV as in https://github.com/ultralytics/yolov5/issues/3494 .
* Earlier `assert` for cpu and half option (#3508 )
* early assert for cpu and half option
early assert for cpu and half option
* Modified comment
Modified comment
* Update tutorial.ipynb (#3510 )
* Reduce test.py results spacing (#3511 )
* Update README.md (#3512 )
* Update README.md
Minor modifications
* 850 width
* Update greetings.yml
revert greeting change as PRs will now merge to master.
Co-authored-by: Piotr Skalski <SkalskiP@users.noreply.github.com>
Co-authored-by: SkalskiP <piotr.skalski92@gmail.com>
Co-authored-by: Peretz Cohen <pizzaz93@users.noreply.github.com>
Co-authored-by: tudoulei <34886368+tudoulei@users.noreply.github.com>
Co-authored-by: chocosaj <chocosaj@users.noreply.github.com>
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
Co-authored-by: Yonghye Kwon <developer.0hye@gmail.com>
Co-authored-by: Sam_S <SamSamhuns@users.noreply.github.com>
Co-authored-by: Samridha Shrestha <samridha.shrestha@g42.ai>
Co-authored-by: edificewang <609552430@qq.com>
3 vuotta sitten
Piotr Skalski
3fea068384
update ci-testing.yml ( #3322 )
* update ci-testing.yml
* update greetings.yml
* bring back os matrix
3 vuotta sitten
Piotr Skalski
bb131238aa
update ci-testing.yml ( #3322 )
* update ci-testing.yml
* update greetings.yml
* bring back os matrix
3 vuotta sitten
Glenn Jocher
9a3da79b4a
Update requirements.txt ( #2021 )
* Update requirements.txt
* Update ci-testing.yml
* Update hubconf.py
3 vuotta sitten
Glenn Jocher
85b75d6018
Update ci-testing.yml ( #2018 )
3 vuotta sitten
Glenn Jocher
b53c8ac179
Create codeql-analysis.yml ( #1644 )
* Create codeql-analysis.yml
* Update ci-testing.yml
3 vuotta sitten
Glenn Jocher
c4addd7761
Unified '/project/name' results saving ( #1377 )
* Project/name update
* Update ci-testing.yml
* address project with path separator failure mode
* Project/name update
* address project with path separator failure mode
* Update ci-testing.yml
* detect.py default --name bug fix
* missing rstrip PR
* train/exp0 to train/exp
4 vuotta sitten
Glenn Jocher
4821d076e2
Increment train, test, detect runs/ ( #1322 )
* Increment train, test, detect runs/
* Update ci-testing.yml
* inference/images to data/images
* move images
* runs/exp to runs/train/exp
* update 'results saved to %s' str
4 vuotta sitten
Glenn Jocher
a12698f4c9
Update ci-testing.yml reflecting sys.path additions ( #869 )
* Update ci-testing.yml
* Update yolo.py
* Update ci-testing.yml
* Update export.py
* Update yolo.py
4 vuotta sitten
Glenn Jocher
b8f3b1b373
Update ci-testing.yml ( #637 )
* Update ci-testing.yml
* Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
5414e53026
update ci-testing.yml with on: cron ( #572 )
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
4 vuotta sitten
Glenn Jocher
07a82f4d44
Update ci-testing.yml ( #445 )
* Update ci-testing.yml
* Update ci-testing.yml
* Update requirements.txt
* Update requirements.txt
* Update google_utils.py
* Update test.py
* Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
90e7bfdf75
Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
02464bc004
Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
34cbd7f191
Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
ddb0ec362d
Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
d78a79bd25
Update ci-testing.yml
4 vuotta sitten
Jirka
e8ea772384
revert test module to confuse users...
4 vuotta sitten
Glenn Jocher
670d4ff287
Update ci-testing.yml
4 vuotta sitten
Glenn Jocher
4171df333c
Update ci-testing.yml
4 vuotta sitten
Jirka Borovec
b4faccabac
Apply suggestions from code review
4 vuotta sitten
Jirka
4500b49fa3
paths
4 vuotta sitten
Jirka
be55111de4
paths
4 vuotta sitten
Jirka
eafe85b1d7
drop xOS
4 vuotta sitten
Jirka
2b8fbdafb9
less xOS
4 vuotta sitten
Jirka
5c73caa2de
timeout
4 vuotta sitten
Jirka
e8b7b86d5a
lower bs
4 vuotta sitten
Jirka
eac0dbc46a
rename
4 vuotta sitten
Jirka
da6c7cea2b
paths
4 vuotta sitten
Jirka
7d8e2dd440
parallel
4 vuotta sitten
Jirka
3e6868d318
args
4 vuotta sitten
Jirka
f0d1e099e2
weights
4 vuotta sitten
Jirka
3bf77ca180
lower batch-size
4 vuotta sitten
Jirka
5b46305dab
fix tests
4 vuotta sitten
Jirka
a79633a876
requirements
4 vuotta sitten
Jirka
1a503f3e08
requirements
4 vuotta sitten
Jirka
a0fa5f5efe
requirements
4 vuotta sitten