- 13 11月, 2021 1 次提交
-
-
由 Werner Duvaud 提交于
* Fix shuffle DataLoader argument * Add shuffle argument * Disable shuffle when rect * Cleanup, add rect warning * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup2 * Cleanup3 Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
- 12 11月, 2021 2 次提交
-
-
由 Glenn Jocher 提交于
* WORLD_SIZE-safe workers * Update with DDP comment
-
由 Glenn Jocher 提交于
@kalenmike per our convo yesterday.
-
- 11 11月, 2021 2 次提交
-
-
由 Glenn Jocher 提交于
* Improve plots.py robustness Addresses issues #5374, #5395, #5611 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
* `np.unique()` sort fix for segments * Update datasets.py
-
- 10 11月, 2021 5 次提交
-
-
由 Glenn Jocher 提交于
Accepts all arguments now by default resolving https://github.com/ultralytics/yolov5/issues/5600
-
由 Glenn Jocher 提交于
* Update tqdm for fixed width * Update val.py * Update val.py * Try ncols= in train.py * NCOLS * NCOLS * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * bar_format * position 0 leave true * exp0 * auto * auto * Cleanup * Cleanup * Cleanup Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Ayman Saleh 提交于
* Fix to resource warning allocation; utilize file.open within a context manager * rename fh to f in keeping with naming convention Co-authored-by:
Ayman Saleh <aymansaleh@Aymans-MacBook-Pro-2.local> Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Glenn Jocher 提交于
* Update __init__.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * notebook_init * notebook_init * notebook_init * notebook_init * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * notebook_init * Created using Colaboratory * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
-
- 09 11月, 2021 1 次提交
-
-
由 Glenn Jocher 提交于
* New `DetectMultiBackend()` class * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * pb to pt fix * Cleanup * explicit apply_classifier path * Cleanup2 * Cleanup3 * Cleanup4 * Cleanup5 * Cleanup6 * val.py MultiBackend inference * warmup fix * to device fix * pt fix * device fix * Val cleanup * COCO128 URL to assets * half fix * detect fix * detect fix 2 * remove half from DetectMultiBackend * training half handling * training half handling 2 * training half handling 3 * Cleanup * Fix CI error * Add torchscript _extra_files * Add TorchScript * Add CoreML * CoreML cleanup * New `DetectMultiBackend()` class * pb to pt fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup * explicit apply_classifier path * Cleanup2 * Cleanup3 * Cleanup4 * Cleanup5 * Cleanup6 * val.py MultiBackend inference * warmup fix * to device fix * pt fix * device fix * Val cleanup * COCO128 URL to assets * half fix * detect fix * detect fix 2 * remove half from DetectMultiBackend * training half handling * training half handling 2 * training half handling 3 * Cleanup * Fix CI error * Add torchscript _extra_files * Add TorchScript * Add CoreML * CoreML cleanup * revert default to pt * Add Usage examples * Cleanup val Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
- 08 11月, 2021 2 次提交
-
-
由 Glenn Jocher 提交于
* Logger consolidation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
Partially addresses invalid mAPs at higher confidence threshold issue https://github.com/ultralytics/yolov5/issues/1466.
-
- 07 11月, 2021 2 次提交
-
-
https://youtu.be/Zgi9g1ksQHc由 Glenn Jocher 提交于
* Update detect.py Usage examples * Inside Ultralytics at https://youtu.be/Zgi9g1ksQHc
-
由 Glenn Jocher 提交于
* Fix `save_one_box()` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
- 06 11月, 2021 11 次提交
-
-
由 Glenn Jocher 提交于
Fix for Colab hub error: ```python import yaml with open('yolov5s.yaml', errors='ignore') as f: d = yaml.safe_load(f) # model dict print(d) --------------------------------------------------------------------------- ReaderError Traceback (most recent call last) <ipython-input-8-1150b5143073> in <module>() 2 3 with open('yolov5s.yaml', errors='ignore') as f: ----> 4 d = yaml.safe_load(f) # model dict 5 6 print(d) 6 frames /usr/local/lib/python3.7/dist-packages/yaml/reader.py in check_printable(self, data) 142 position = self.index+(len(self.buffer)-self.pointer)+match.start() 143 raise ReaderError(self.name, position, ord(character), --> 144 'unicode', "special characters are not allowed") 145 146 def update(self, length): ReaderError: unacceptable character #x1f680: special characters are not allowed in "yolov5s.yaml", position 9 ```
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Update model yamls for v6.0 * Add python models/yolo.py --test * Ghost fix
-
-
由 Glenn Jocher 提交于
* Update autobatch.py * Update autobatch.py * Update autobatch.py
-
由 Glenn Jocher 提交于
-
由 Deep Patel 提交于
Checking for `onnx_dynamic` first should suppress the warning: ```log TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs! if self.grid[i].shape[2:4] != x[i].shape[2:4] or self.onnx_dynamic ```
-
由 Wonbeom Jang 提交于
* correct --resume True error * delete temp file * Update train.py Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 nanmi 提交于
* fix export onnx bug * Update export.py * Update export.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update yolo.py Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Fix detect.py URL inference Allows detect.py to run inference on remote URL sources, i.e.: ```python !python detect.py --weights yolov5s.pt --source https://ultralytics.com/assets/zidane.jpg # image URL !python detect.py --weights yolov5s.pt --source https://ultralytics.com/assets/decelera_landscape.mov # video URL ``` * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ciCo-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
- 05 11月, 2021 7 次提交
-
-
由 Glenn Jocher 提交于
Resolves https://github.com/ultralytics/yolov5/pull/5341#issuecomment-961774729 Tests: ```python import glob import re from pathlib import Path def increment_path(path, exist_ok=False, sep='', mkdir=False): # Increment file or directory path, i.e. runs/exp --> runs/exp{sep}2, runs/exp{sep}3, ... etc. path = Path(path) # os-agnostic if path.exists() and not exist_ok: path, suffix = (path.with_suffix(''), path.suffix) if path.is_file() else (path, '') dirs = glob.glob(f"{path}{sep}*") # similar paths matches = [re.search(rf"%s{sep}(\d+)" % path.stem, d) for d in dirs] i = [int(m.groups()[0]) for m in matches if m] # indices n = max(i) + 1 if i else 2 # increment number path = Path(f"{path}{sep}{n}{suffix}") # increment path if mkdir: path.mkdir(parents=True, exist_ok=True) # make directory return path print(increment_path('runs')) print(increment_path('export.py')) print(increment_path('abc.def.dir')) print(increment_path('abc.def.file')) ```
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Update cls bias init Increased numerical precision. Returns 1.0 probability for single-class datasets now. Addresses https://github.com/ultralytics/yolov5/issues/5357 ```python torch.sigmoid(torch.tensor([math.log(0.6 / (1 - 0.99999))])) Out[19]: tensor([1.0000]) ``` * Update yolo.py
-
由 ys31jp 提交于
* Update plots.py Error running python detect.py --visualize #5503 * Update plots.py Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Yonghye Kwon 提交于
* write date in checkpoint file write date in checkpoint file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * isoformat Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Glenn Jocher 提交于
Fix for https://github.com/ultralytics/yolov5/issues/5503 ``` python detect.py --visualize --source path/to/file.suffix1.jpg ```
-
由 Jirka Borovec 提交于
* precommit: isort * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update isort config * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update name Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
- 04 11月, 2021 7 次提交
-
-
由 Nam Vu 提交于
* Handle edgetpu model inference * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Cleanup Rename `tflite_runtime.interpreter as tflite` to `tflite_runtime.interpreter as tflri` to avoid conflict with existing `tflite` boolean Co-authored-by:
Nam Vu <nam@glodonusa.com> Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Glenn Jocher 提交于
* Fix float zeros format * 255 to integer
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Keras CI fix * pre-commit fixes * Update ci-testing.yml Co-authored-by:
pre-commit <pre-commit@example.com>
-
由 Glenn Jocher 提交于
* Update tf.py with verified confirmation * Update ci-testing.yml * Update ci-testing.yml
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
-