Glenn Jocher
caf7ad0500
Allow 3-point segments ( #6938 )
May resolve https://github.com/ultralytics/yolov5/issues/6931
преди 2 години
Glenn Jocher
6dd82c0252
Move `git_describe()` to general.py ( #6918 )
* Move `git_describe()` to general.py
* Move `git_describe()` to general.py
преди 2 години
Glenn Jocher
e6e36aac10
Update bytes to GB with bitshift ( #6886 )
преди 2 години
Glenn Jocher
4728840745
Update `--cache disk` deprecate `*_npy/` dirs ( #6876 )
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* Cleanup
* Cleanup
преди 2 години
Glenn Jocher
8a66ebad44
Add `*.ts` to `VID_FORMATS` ( #6859 )
преди 2 години
Glenn Jocher
601dbb83f0
AutoAnchor improved initialization robustness ( #6854 )
* Update AutoAnchor
* Update AutoAnchor
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
преди 2 години
Louis Combaldieu
bcc92e2169
Update sweep.yaml ( #6825 )
* Update sweep.yaml
Changed focal loss gamma search range between 1 and 4
* Update sweep.yaml
lowered the min value to match default
преди 2 години
Glenn Jocher
63ddb6f0d0
Update autoanchor.py ( #6794 )
* Update autoanchor.py
* Update autoanchor.py
преди 2 години
Glenn Jocher
0f819919ad
Update EMA decay `tau` ( #6769 )
* Update EMA
* Update EMA
* ratio invert
* fix ratio invert
* fix2 ratio invert
* warmup iterations to 100
* ema_k
* implement tau
* implement tau
преди 2 години
Glenn Jocher
c161557563
Default `OMP_NUM_THREADS=8` ( #6770 )
преди 2 години
Glenn Jocher
2692e67c5f
Updated VOC hyperparameters ( #6732 )
* Update hyps
* Update hyp.VOC.yaml
* Update pathlib
* Update hyps
* Update hyps
* Update hyps
* Update hyps
преди 2 години
Glenn Jocher
c43f135571
Update `nw` to `max(nd, 1)` ( #6714 )
преди 2 години
Glenn Jocher
4de8b24881
Suppress `torch` AMP-CPU warnings ( #6706 )
This is a torch bug, but they seem unable or unwilling to fix it so I'm creating a suppression in YOLOv5.
Resolves https://github.com/ultralytics/yolov5/issues/6692
преди 2 години
Samuel Yvon
0365379016
Fix floating point in number of workers `nw` ( #6701 )
Integer division by a float yields a (rounded) float. This causes
the dataloader to crash when creating a range.
преди 2 години
Glenn Jocher
2e5c67e537
Robust `scipy.cluster.vq.kmeans` too few points ( #6668 )
* Handle `scipy.cluster.vq.kmeans` too few points
Resolves #6664
* Update autoanchor.py
* Cleanup
преди 2 години
Glenn Jocher
1ff43702a8
Validate with 2x `--workers` single-GPU/CPU fix ( #6659 )
Fix for #6658 for single-GPU and CPU training use cases
преди 2 години
Glenn Jocher
6769021901
Validate with 2x `--workers` ( #6658 )
преди 2 години
imyhxy
ca0a00784d
Fixed wandb logger KeyError ( #6637 )
преди 2 години
Glenn Jocher
538930023c
Fix ConfusionMatrix scale `vmin=0.0` ( #6638 )
Fix attempt for https://github.com/ultralytics/yolov5/issues/6626
преди 2 години
Glenn Jocher
a45e472358
YOLOv5 Export Benchmarks ( #6613 )
* Add benchmarks.py
* Update
* Add requirements
* Updates
* Updates
* Updates
* Updates
* Updates
* Updates
* dataset autodownload from root
* Update
* Redirect to /dev/null
* sudo --help
* Cleanup
* Add exports pd df
* Updates
* Updates
* Updates
* Cleanup
* dir handling fix
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Cleanup
* Cleanup2
* Cleanup3
* Cleanup model_type
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
преди 2 години
Ayush Chaurasia
96d8f86085
W&B: don't log media in evolve ( #6617 )
преди 2 години
Ayush Chaurasia
51f7750aad
W&B: Improve resume stability ( #6611 )
* log best.pt metrics at train end
* update
* Update __init__.py
* flush callbacks when using evolve
* remember batch size on resuming
* Update train.py
* improve stability of resume
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
преди 2 години
Glenn Jocher
b40bdd6b2d
YouTube dependency fix `youtube_dl==2020.12.2` ( #6612 )
Per https://github.com/ultralytics/yolov5/issues/5860#issuecomment-1035320018 by @hdnh2006
преди 2 години
or-toledano
cb2ad9f685
Fix `ROOT / data` when running W&B `log_dataset()` ( #6606 )
* Fix missing data folder when running log_dataset
* Use ROOT/'data'
* PEP8 whitespace
преди 2 години
Glenn Jocher
c21da596f3
Fix `hyp_evolve.yaml` indexing bug ( #6604 )
* Fix `hyp_evolve.yaml` indexing bug
Bug caused hyp_evolve.yaml to display latest generation result rather than best generation result.
* Update plots.py
* Update general.py
* Update general.py
* Update general.py
преди 2 години
Glenn Jocher
364b7c5111
Fix YouTube dislike button bug in `pafy` package ( #6603 )
Per https://github.com/ultralytics/yolov5/issues/6583#issuecomment-1034421945 by @alicera
преди 2 години
Glenn Jocher
9c513ca629
Add `DATASETS_DIR` global in general.py ( #6578 )
преди 2 години
Glenn Jocher
f627bc53f8
Fix `plot_labels()` colored histogram bug ( #6574 )
* Fix `plot_labels()` colored histogram bug
* Cleanup
преди 2 години
Glenn Jocher
b57abb17f2
Move trainloader functions to class methods ( #6559 )
* Move trainloader functions to class methods
* results = ThreadPool(NUM_THREADS).imap(self.load_image, range(n))
* Cleanup
преди 2 години
Jirka Borovec
cba4303d32
Fix 6 Flake8 issues ( #6541 )
* F541
* F821
* F841
* E741
* E302
* E722
* Apply suggestions from code review
* Update general.py
* Update datasets.py
* Update export.py
* Update plots.py
* Update plots.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
преди 2 години
Glenn Jocher
c3e599cfda
Update val_batch*.jpg for Chinese fonts ( #6526 )
* Update plots for Chinese fonts
* make is_chinese() non-str safe
* Add global FONT
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update general.py
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
преди 2 години
Glenn Jocher
6445a8137e
Resolve dataset paths ( #6489 )
преди 2 години
Glenn Jocher
d8b5beb0b0
Fix2 `select_device()` for Multi-GPU ( #6461 )
* Fix2 select_device() for Multi-GPU
* Cleanup
* Cleanup
* Simplify error message
* Improve assert
* Update torch_utils.py
преди 2 години
Glenn Jocher
856d4e5733
Fix `select_device()` for Multi-GPU ( #6434 )
* Fix `select_device()` for Multi-GPU
Possible fix for https://github.com/ultralytics/yolov5/issues/6431
* Update torch_utils.py
* Update torch_utils.py
* Update torch_utils.py
* Update torch_utils.py
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
* Update
преди 2 години
Glenn Jocher
fe7de6a82d
Revert "Remove `dataset_stats()` autodownload capability ( #6303 )" ( #6442 )
This reverts commit 3119b2f27c
.
преди 2 години
toschi23
3b7ac28ed1
Add `*.asf` video support ( #6436 )
преди 2 години
Glenn Jocher
d5966c93f1
Namespace `VERBOSE` env variable to `YOLOv5_VERBOSE` ( #6428 )
* Verbose updates
* Verbose updates
преди 2 години
Jonathan Samelson
ed9bac8392
Rename logger from 'utils.logger' to 'yolov5' ( #6421 )
* Gave a more explicit name to the logger
* Cleanup
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
преди 2 години
Glenn Jocher
482af479c0
Add `detect.py` GIF video inference ( #6410 )
* Add detect.py GIF video inference
* Cleanup
преди 2 години
Matthias
8efe97719c
Add `stop_training=False` flag to callbacks ( #6365 )
* New flag 'stop_training' in util.callbacks.Callbacks class to prematurely stop training from callback handler
* Removed most of the new checks, leaving only the one after calling 'on_train_batch_end'
* Cleanup
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
преди 2 години
Ayush Chaurasia
9bcc32a5bf
Flush callbacks when on `--evolve` ( #6374 )
* log best.pt metrics at train end
* update
* Update __init__.py
* flush callbacks when using evolve
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
преди 2 години
sitecao
e1893c894a
`DEVICE_COUNT` instead of `WORLD_SIZE` to calculate `nw` ( #6324 )
преди 2 години
imyhxy
4e841b9b16
Reuse `de_parallel()` rather than `is_parallel()` ( #6354 )
преди 2 години
johnk2hawaii
9708cf56ea
New environment variable `VERBOSE` ( #6353 )
New environment variable `VERBOSE`
преди 2 години
Glenn Jocher
fd55271c04
Console corrupted -> corrupt ( #6338 )
* Console corrupted -> corrupt
Minor style changes.
* Update export.py
преди 2 години
Glenn Jocher
3119b2f27c
Remove `dataset_stats()` autodownload capability ( #6303 )
* Remove `dataset_stats()` autodownload capability
@kalenmike security update per Slack convo
* Update datasets.py
преди 2 години
Glenn Jocher
436ffc417a
`select_device()` cleanup ( #6302 )
* `select_device()` cleanup
* Update torch_utils.py
* Update torch_utils.py
* Update torch_utils.py
* Update torch_utils.py
* Update torch_utils.py
преди 2 години
Henry
a1a9c6884c
Fixing bug multi-gpu training ( #6299 )
* Fixing bug multi-gpu training
This solves this issue: https://github.com/ultralytics/yolov5/issues/6297#issue-1103853348
* Update torch_utils.py for pep8
преди 2 години
Glenn Jocher
e7bf38277f
Fix `device` count check ( #6290 )
* Fix device count check()
* Update torch_utils.py
* Update torch_utils.py
* Update hubconf.py
преди 2 години
Glenn Jocher
af001349e4
Add `is_kaggle()` function ( #6285 )
* Add `is_kaggle()` function
Return True if environment is Kaggle Notebook.
* Remove root loggers only if is_kaggle() == True
* Update general.py
преди 2 години