Glenn Jocher
4bad914761
Update resume.py ( #4115 )
pirms 3 gadiem
Glenn Jocher
2c073cd207
Add train.py ``--img-size` floor ( #4099 )
pirms 3 gadiem
Glenn Jocher
3bef77f5cb
Addition refactor `export.py` ( #4089 )
* Addition refactor `export.py`
* Update export.py
pirms 3 gadiem
Glenn Jocher
442a7abdf2
Refactor `export.py` ( #4080 )
* Refactor `export.py`
* cleanup
* Update check_requirements()
* Update export.py
pirms 3 gadiem
Ayush Chaurasia
0cc7c58787
W&B: fix refactor bugs ( #4069 )
pirms 3 gadiem
Glenn Jocher
7fdcc77bf4
Albumentations >= 1.0.3 ( #4068 )
pirms 3 gadiem
Glenn Jocher
ee76a68f1d
Created using Colaboratory
pirms 3 gadiem
Glenn Jocher
c8a98cb7cb
Missing `nc` and `names` handling in check_dataset() ( #4066 )
pirms 3 gadiem
Glenn Jocher
b1be685005
Module `super().__init__()` ( #4065 )
* Module `super().__init__()`
* remove NMS
pirms 3 gadiem
Glenn Jocher
f7d8562060
`val.py` refactor ( #4053 )
* val.py refactor
* cleanup
* cleanup
* cleanup
* cleanup
* save after eval
* opt.imgsz bug fix
* wandb refactor
* dataloader to train_loader
* capitalize global variables
* runs/hub/exp to runs/detect/exp
* refactor wandb logging
* Refactor wandb operations (#4061 )
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com>
pirms 3 gadiem
Glenn Jocher
9dd33fd20f
AutoShape PosixPath support ( #4047 )
* AutoShape PosixPath support
Usage example:
````python
from pathlib import Path
model = ...
file = Path('data/images/zidane.jpg')
results = model(file)
```
* Update common.py
pirms 3 gadiem
Glenn Jocher
dd62e2d05c
Update README.md ( #4041 )
* Update README.md
* Update README.md
* Update README.md
pirms 3 gadiem
Glenn Jocher
0067d9578a
Update greetings.yml ( #4037 )
pirms 3 gadiem
Glenn Jocher
951922c735
Add `--sync-bn` known issue ( #4032 )
* Add `--sync-bn` known issue
* Update train.py
pirms 3 gadiem
Glenn Jocher
b7e985e397
Update greetings.yml ( #4024 )
* Update greetings.yml
* Update greetings.yml
pirms 3 gadiem
Ayush Chaurasia
62409eea08
W&B sweeps support ( #3938 )
* Add support for W&B Sweeps
* Update and reformat
* Update search space
* reformat
* reformat sweep.py
* Update sweep.py
* Move sweeps files to wandb dir
* Remove print
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pirms 3 gadiem
Glenn Jocher
720aaa65c8
Rename `test.py` to `val.py` ( #4000 )
pirms 3 gadiem
Glenn Jocher
8ee9fd1505
Update README.md ( #3996 )
pirms 3 gadiem
Glenn Jocher
d204a61834
Alert (no detections) ( #3984 )
* `Detections()` class `print()` overload
* Update common.py
pirms 3 gadiem
Glenn Jocher
b3dabdcc38
Update `probability` to `p` ( #3980 )
pirms 3 gadiem
Glenn Jocher
41fdf9fa53
Created using Colaboratory
pirms 3 gadiem
KEN
647223a7a8
`Ensemble()` visualize fix ( #3973 )
* fix visualize error
* Revert "fix visualize error"
* add visualise profile
pirms 3 gadiem
Glenn Jocher
a544d59f52
Update requirements.txt `albumentations>=1.0.2` ( #3972 )
pirms 3 gadiem
Glenn Jocher
90e60b403d
Update `np.random.random()` to `random.random()` ( #3967 )
pirms 3 gadiem
Glenn Jocher
8298ce5e88
Update `albumentations>=1.0.2` ( #3966 )
pirms 3 gadiem
Glenn Jocher
80299a57e2
Numerical stability fix for Albumentations ( #3958 )
pirms 3 gadiem
Glenn Jocher
443af8b25a
Cache v0.4 update ( #3954 )
pirms 3 gadiem
Glenn Jocher
a26e7de2bf
Update augmentations.py ( #3948 )
pirms 3 gadiem
Glenn Jocher
248504cf13
Feature visualization improvements 32 ( #3947 )
pirms 3 gadiem
Glenn Jocher
dabad5793a
Created using Colaboratory
pirms 3 gadiem
Eldar Kurtic
e7888af94c
Fix inconsistent NMS IoU value for COCO ( #3934 )
Evaluation of 'best' and 'last' models will use the same params as the evaluation during the training phase.
This PR fixes https://github.com/ultralytics/yolov5/issues/3907
pirms 3 gadiem
Glenn Jocher
8c6f9e15bf
Update `dataset_stats()` for zipped datasets ( #3926 )
* Update `dataset_stats()` for zipped datasets
@KalenMike
* cleanup
pirms 3 gadiem
Glenn Jocher
850970e081
`feature_visualization()` CUDA fix ( #3925 )
pirms 3 gadiem
jmiranda-laplateforme
588094eb7a
Update `setattr()` default for Hub PIL images ( #3923 )
Fix inference from PIL source.
pirms 3 gadiem
Glenn Jocher
411842e058
Fix `torch.hub.list('ultralytics/yolov5')` pathlib bug ( #3921 )
pirms 3 gadiem
Glenn Jocher
87b094bcbc
Feature visualization update ( #3920 )
* Feature visualization update
* Save to jpg (faster)
* Save to png
pirms 3 gadiem
johnohagan
61047a2b4f
Save PyTorch Hub models to `/root/hub/cache/dir` ( #3904 )
* Create hubconf.py
* Add save_dir variable
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pirms 3 gadiem
Glenn Jocher
33202b7f0b
YOLOv5 + Albumentations integration ( #3882 )
* Albumentations integration
* ToGray p=0.01
* print confirmation
* create instance in dataloader init method
* improved version handling
* transform not defined fix
* assert string update
* create check_version()
* add spaces
* update class comment
pirms 3 gadiem
Glenn Jocher
6a3ee7cf03
Hub models `map_location=device` ( #3894 )
* Hub models `map_location=device`
* cleanup
pirms 3 gadiem
Glenn Jocher
8930e22cce
Evolution commented `hyp['anchors']` fix ( #3887 )
Fix for `KeyError: 'anchors'` error when start hyperparameter evolution:
```bash
python train.py --evolve
```
```bash
Traceback (most recent call last):
File "E:\yolov5\train.py", line 623, in <module>
hyp[k] = max(hyp[k], v[1]) # lower limit
KeyError: 'anchors'
```
pirms 3 gadiem
Glenn Jocher
3c3f8fbd5d
Improved BGR2RGB speeds ( #3880 )
* Update BGR2RGB ops
* speed improvements
* cleanup
pirms 3 gadiem
Glenn Jocher
9e8fb9fd0b
Create `utils/augmentations.py` ( #3877 )
* Create `utils/augmentations.py`
* cleanup
pirms 3 gadiem
Glenn Jocher
81b31824f5
Models `*.yaml` reformat ( #3875 )
pirms 3 gadiem
Glenn Jocher
bd88e7f4f2
Created using Colaboratory
pirms 3 gadiem
ketan-b
9d86b54eb3
Add multi-stream saving feature ( #3864 )
* Added the recording feature for multiple streams
Thanks for the very cool repo!!
I was trying to record multiple feeds at the same time, but the current version of the detector only had one video writer and one vid_path!
So the streams were not being saved and only were initialized with one frame and this process didn't record the whole thing.
Fix:
I made a list of `vid_writer` and `vid_path` and the `i` from the loop over the `pred` took care of the writer which need to work!
I hope this helps, Thanks!
* Cleanup list lengths
* batch size variable
* Update datasets.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pirms 3 gadiem
san-soucie
d3e9d69850
`--evolve 300` generations CLI argument ( #3863 )
* evolve command accepts argument for number of generations
* evolve generations argument used in evolve for loop
* evolve argument boolean fixes
* default to 300 evolve generations
* Update train.py
Co-authored-by: John San Soucie <jsansoucie@whoi.edu>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pirms 3 gadiem
Valentin Aliferov
831773f5a2
Add EXIF rotation to YOLOv5 Hub inference ( #3852 )
* rotating an image according to its exif tag
* Update common.py
* Update datasets.py
* Update datasets.py
faster
* delete extraneous gpg file
* Update common.py
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
pirms 3 gadiem
Glenn Jocher
4717a3b038
Created using Colaboratory
pirms 3 gadiem
Glenn Jocher
b6863385b5
Created using Colaboratory
pirms 3 gadiem
Glenn Jocher
c6c88dc601
Copy-Paste augmentation for YOLOv5 ( #3845 )
* Copy-paste augmentation initial commit
* if any segments
* Add obscuration rejection
* Add copy_paste hyperparameter
* Update comments
pirms 3 gadiem