Commit Graph

88 Commits (34cf749958d2dd3ed1205f6bb07e0f20f6e2372d)

Author SHA1 Message Date
Glenn Jocher 5bab9a28e4
Reformat () 2021-06-19 14:21:28 +02:00
Glenn Jocher 2754adad46
Remove `/weights` directory ()
* Remove `/weights` directory

* cleanup
2021-06-17 14:44:12 +02:00
Glenn Jocher f3c3d2ce5d
Merge `develop` branch into `master` ()
* update ci-testing.yml ()

* update ci-testing.yml

* update greetings.yml

* bring back os matrix

* update ci-testing.yml ()

* update ci-testing.yml

* update greetings.yml

* bring back os matrix

* Enable direct `--weights URL` definition ()

* 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 ()

add Open in Kaggle badge

* `cv2.imread(img, -1)` for IMREAD_UNCHANGED ()

* Update datasets.py

* comment

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* COCO evolution fix ()

* COCO evolution fix

* cleanup

* update print

* print fix

* Create `is_pip()` function ()

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 ()" ()

This reverts commit 21a9607e00.

* Update FLOPs description ()

* Update README.md

* Changing FLOPS to FLOPs.

Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>

* Parse URL authentication ()

* Parse URL authentication

* urllib.parse.unquote()

* improved error handling

* improved error handling

* remove %3F

* update check_file()

* Add FLOPs title to table ()

* Suppress jit trace warning + graph once ()

* 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` ()

Per VOC empirical results https://github.com/ultralytics/yolov5/issues/3380#issuecomment-853001307 by @developer0hye

* Add `timeout()` class ()

* Add `timeout()` class

* rearrange order

* Faster HSV augmentation ()

remove datatype conversion process that can be skipped

* Add `check_git_status()` 5 second timeout ()

* 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 ()

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 ()

* 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 ()

* 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 ()

* Update stale.yml

* cleanup

* Update stale.yml

* reformat

* Update stale.yml HUB URL ()

* Stale `github.actor` bug fix ()

* Explicit `model.eval()` call `if opt.train=False` ()

* 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` ()

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 ()

* early assert for cpu and half option

early assert for cpu and half option

* Modified comment

Modified comment

* Update tutorial.ipynb ()

* Reduce test.py results spacing ()

* Update README.md ()

* 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>
2021-06-08 10:22:10 +02:00
Glenn Jocher 9a3da79b4a
Update requirements.txt ()
* Update requirements.txt

* Update ci-testing.yml

* Update hubconf.py
2021-01-23 12:51:04 -08:00
Glenn Jocher 85b75d6018
Update ci-testing.yml () 2021-01-22 15:22:54 -08:00
Glenn Jocher b53c8ac179
Create codeql-analysis.yml ()
* Create codeql-analysis.yml

* Update ci-testing.yml
2020-12-08 17:03:16 -08:00
Glenn Jocher c4addd7761
Unified '/project/name' results saving ()
* 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
2020-11-12 23:37:46 +01:00
Glenn Jocher 4821d076e2
Increment train, test, detect runs/ ()
* 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
2020-11-08 19:39:05 +01:00
Glenn Jocher a12698f4c9
Update ci-testing.yml reflecting sys.path additions ()
* Update ci-testing.yml

* Update yolo.py

* Update ci-testing.yml

* Update export.py

* Update yolo.py
2020-10-04 18:50:32 +02:00
Glenn Jocher b8f3b1b373
Update ci-testing.yml ()
* Update ci-testing.yml

* Update ci-testing.yml
2020-08-05 11:42:51 -07:00
Glenn Jocher 5414e53026
update ci-testing.yml with on: cron ()
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2020-07-30 14:41:50 -07:00
Glenn Jocher 07a82f4d44
Update ci-testing.yml ()
* 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
2020-07-19 15:44:11 -07:00
Glenn Jocher 90e7bfdf75
Update ci-testing.yml 2020-07-17 00:09:34 -07:00
Glenn Jocher 02464bc004
Update ci-testing.yml 2020-07-16 21:09:33 -07:00
Glenn Jocher 34cbd7f191
Update ci-testing.yml 2020-07-16 20:53:41 -07:00
Glenn Jocher ddb0ec362d
Update ci-testing.yml 2020-07-16 20:51:49 -07:00
Glenn Jocher d78a79bd25
Update ci-testing.yml 2020-07-16 20:49:46 -07:00
Jirka e8ea772384 revert test module to confuse users... 2020-07-17 01:16:22 +02:00
Glenn Jocher 670d4ff287
Update ci-testing.yml 2020-07-16 13:44:02 -07:00
Glenn Jocher 4171df333c
Update ci-testing.yml 2020-07-16 13:40:31 -07:00
Jirka Borovec b4faccabac
Apply suggestions from code review 2020-07-16 21:08:18 +02:00
Jirka 4500b49fa3 paths 2020-07-16 19:14:23 +02:00
Jirka be55111de4 paths 2020-07-16 19:10:32 +02:00
Jirka eafe85b1d7 drop xOS 2020-07-16 14:03:06 +02:00
Jirka 2b8fbdafb9 less xOS 2020-07-16 13:57:07 +02:00
Jirka 5c73caa2de timeout 2020-07-16 12:28:20 +02:00
Jirka e8b7b86d5a lower bs 2020-07-16 12:25:55 +02:00
Jirka eac0dbc46a rename 2020-07-16 12:11:38 +02:00
Jirka da6c7cea2b paths 2020-07-16 12:06:18 +02:00
Jirka 7d8e2dd440 parallel 2020-07-16 11:56:18 +02:00
Jirka 3e6868d318 args 2020-07-16 11:49:28 +02:00
Jirka f0d1e099e2 weights 2020-07-16 11:45:17 +02:00
Jirka 3bf77ca180 lower batch-size 2020-07-16 11:16:12 +02:00
Jirka 5b46305dab fix tests 2020-07-16 10:29:21 +02:00
Jirka a79633a876 requirements 2020-07-16 09:50:13 +02:00
Jirka 1a503f3e08 requirements 2020-07-16 09:46:56 +02:00
Jirka a0fa5f5efe requirements 2020-07-16 09:44:53 +02:00
Jirka 94b2bb68cc add GH action tests 2020-07-16 09:35:48 +02:00