Glenn Jocher
38c779b099
Created using Colaboratory
3 years ago
Kalen Michael
29acedf7dd
Add Roboflow to README ( #4972 )
* added callbacks
* added back callback to main
* added save_dir to callback output
* merged in upstream
* removed ghost code
* added integrations section removed competition
* attempt column build
* attempt column build
* moved new to header
* removed center column
* utm
* Update README.md
* Update README.md
* updated logo sizes
* resized logos
* fixed links
* Update README.md
* Update README.md
* Update README.md
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
3 years ago
Glenn Jocher
fb982d6030
Fix relative `ROOT` Pytorch Hub custom model bug ( #4974 )
* Fix relative `ROOT` Pytorch Hub custom model bug
* Update yolo.py
3 years ago
Diego Montes
c1bed601e9
Fix `isascii()` method calls for python 3.6 ( #4958 )
* fix isascii for python3.6
* update comment with python 3.7 note
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
3 years ago
Glenn Jocher
2993c3fa7a
Add `roboflow` ( #4956 )
3 years ago
Glenn Jocher
3aeb57d66f
Created using Colaboratory
3 years ago
Glenn Jocher
5ed28603cf
Update relative `ROOT` logic ( #4955 )
* Update relative `ROOT` logic
* python 3.9 Path().is_relative_to() removal
3 years ago
Glenn Jocher
4e04cb0dc8
Allow YOLOv5 execution from arbitrary `cwd` ( #4954 )
* Allow YOLOv5 execution from arbitrary `cwd`
* Fix str bugs
3 years ago
Glenn Jocher
a820b43aca
Automatic Chinese fonts plotting ( #4951 )
* Automatic Chinese fonts plotting
* Default PIL=False
3 years ago
Glenn Jocher
c5ba2abb4a
Update Dockerfile ( #4935 )
3 years ago
Glenn Jocher
5a8e4343d8
Scope `check_file()` search space ( #4933 )
`check_file()` is now limited to searching opt-in directories: /data, /models, /utils. This prevents large non-project directories like /.git and /venv from being searched, which may cause `check_file()` to slow significantly.
3 years ago
Glenn Jocher
793383232f
Update default Albumentations ( #4931 )
3 years ago
Glenn Jocher
d856c48298
Validate `best.pt` on train end ( #4889 )
* Validate best.pt on train end
* 0.7 iou for COCO only
* pass callbacks
* active model.float() if not half
* print Validating best.pt...
* add newline
3 years ago
Glenn Jocher
e687873436
Add Slack Forum badge to README ( #4930 )
Add badge with link to join the new YOLOv5 Slack Forum!
https://join.slack.com/t/ultralytics/shared_invite/zt-w29ei8bp-jczz7QYUmDtgo6r6KcMIAg
3 years ago
Glenn Jocher
39c17ce0b9
Fix `root` referenced before assignment ( #4920 )
* Fix `root` referenced before assignment
Fix for bug introduced by #4919 discovered on VOC autodownload:
```
python train.py --data VOC.yaml
```
* Cleanup
3 years ago
Glenn Jocher
a64a4c839f
Replace `os.system('unzip file.zip')` -> `ZipFile.extractall()` ( #4919 )
* Replace `os.system('unzip file.zip')` -> `ZipFile.extractall()`
* Cleanup
3 years ago
Jebastin Nadar
1492632796
Fix zipfile name for coco128-segments ( #4914 )
3 years ago
Jiacong Fang
2c2ef25f8b
TensorFlow.js export enhancements ( #4905 )
* Add arguments to TensorFlow NMS call
* Add regex substitution to reorder Identity_*
* Delete reorder in docstring
* Cleanup
* Cleanup2
* Removed `+ \` on string ends (not needed)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
3 years ago
Jiacong Fang
ce7fa81d4e
Avoid out-of-image class labels ( #4902 )
* Avoid out-of-image class labels
* Update plots.py
* Cleanup
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
3 years ago
NauchtanRobotics
dad8660540
Fix arg help string to match 'classes' arg name ( #4893 )
3 years ago
Ayush Chaurasia
59aae85a7e
W&B: Fix dataset check ( #4879 )
* evolve fix
* Enable login timeout
* fix pkg
* check rank
* don't relogin
* fix
* reformat
3 years ago
Ayush Chaurasia
9febea79de
W&B: Login only in master processes ( #4866 )
* evolve fix
* Enable login timeout
* fix pkg
* check rank
* don't relogin
3 years ago
Glenn Jocher
8ad9e4ed5b
Annotator `check_font()` RANK -1 remove progress ( #4864 )
* Annotator `check_font()` RANK -1 remove progress
* Cleanup
3 years ago
Glenn Jocher
2b3109eeb0
Fix DDP destruction `LOGGER.info()` ( #4863 )
3 years ago
Glenn Jocher
2809616345
Update Dockerfile ( #4862 )
3 years ago
Glenn Jocher
40d1c80503
Update Dockerfile ( #4861 )
3 years ago
Glenn Jocher
9ef94940aa
Update greetings.yml ( #4856 )
3 years ago
Glenn Jocher
4c839eeb10
Simplify `check_requirements()` usage ( #4855 )
* Simplify `check_requirements()` usage
* remove assert, print()
3 years ago
Glenn Jocher
4d1a2ac87e
Update `sys.path.append(str(ROOT))` ( #4852 )
* Update `sys.path.append(str(ROOT))`
* Cleanup
3 years ago
Glenn Jocher
3732f9ac8a
Refactor argparser printing to `print_args()` ( #4850 )
* Refactor argparser printing to `print_args()`
* Cleanup
3 years ago
Glenn Jocher
84bfa89236
Consolidate `init_seeds()` ( #4849 )
3 years ago
Ayush Chaurasia
302a1b0bb0
W&B: Enable login timeout ( #4843 )
* evolve fix
* Enable login timeout
* fix pkg
3 years ago
Glenn Jocher
4fdaec0449
Single `cache_version` definition ( #4846 )
Defines dataset labels *.cache version in a single place, fixing a bug introduced in #4845 .
3 years ago
Glenn Jocher
fe39562a5f
Sorted datasets update to `cache_labels()` ( #4845 )
PR should produce datasets sorted alphabetically by filename. Cache version incremented to 0.5.
Note: will force a one-time re-caching of existing datasets on first-use.
3 years ago
Glenn Jocher
3a822a22ce
`PIL.ImageDraw.text(anchor=...)` removal, reduce to `>=7.1.2` ( #4842 )
* Unpin Pillow
* Update requirements.txt
* Update plots.py
3 years ago
Glenn Jocher
e83792e65c
Created using Colaboratory
3 years ago
Glenn Jocher
850f98f508
Created using Colaboratory
3 years ago
Glenn Jocher
27a4736e96
Fix val.py study plot ( #4831 )
* Fix val.py study plot
* call plot_val_study
* Rename plot_study_txt to plot_val_study
3 years ago
Jiacong Fang
3beb871ba4
Multiple TF export improvements ( #4824 )
* Add fused conv support
* Set all saved_model values to non trainable
* Fix TFLite fp16 model export
* Fix int8 TFLite conversion
3 years ago
Glenn Jocher
6b44ecd53d
Fix 'PyTorch starting from' for URL weights ( #4828 )
Follows #4823
3 years ago
Kalen Michael
43b2817f6e
Feature/fix export on url ( #4823 )
* added callbacks
* added back callback to main
* added save_dir to callback output
* merged in upstream
* removed ghost code
* added url check
* Add url2file()
* Update file-only
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
3 years ago
Glenn Jocher
0dc725e3dc
Refactor `forward()` method profiling ( #4816 )
3 years ago
Glenn Jocher
621b6d5ba8
Evolution `--resume` fix ( #4802 )
Also disable `/weights` dir creation when evolving as no weights are saved and empty folder causes user expectations of weights.
3 years ago
Glenn Jocher
b74dd4ba4f
Add `--int8` argument ( #4799 )
* Add `--int8` argument
* parents[0] bug fix
* Fix order
3 years ago
Jihoon Kim
fcb225c1c8
Shuffle all 4(or 9) images in mosaic augmentation ( #4787 )
Thank you for sharing nice open-source codes 👍
I applied to shuffle the order of all 4(or 9) images in mosaic augmentation
Currently, the order of images in mosaic augmentation is not completely random.
The remaining images except the first are randomly arranged. Apply shuffle all to increase the diversity of data composition.
3 years ago
Glenn Jocher
aa1859909c
Update ci-testing.yml ( #4772 )
3 years ago
Glenn Jocher
b161edf873
Update ci-testing.yml ( #4770 )
3 years ago
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 years ago
Glenn Jocher
c47be26f34
Replace `path.absolute()` with `path.resolve()` ( #4763 )
3 years ago
Glenn Jocher
cd810c8286
Centralize `user_config_dir()` decision making ( #4755 )
3 years ago