- 06 11月, 2021 9 次提交
-
-
由 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 提交于
-
- 03 11月, 2021 4 次提交
-
-
由 Glenn Jocher 提交于
* Improve GPU name * Update torch_utils.py * Update torch_utils.py * Update torch_utils.py * Update torch_utils.py
-
由 Glenn Jocher 提交于
`check_requirements()` is unreliable for large packages like torch and tensorflow that may have multiple installation routes (i.e. conda, pip, tensorflow-cpu, etc.)
-
由 Glenn Jocher 提交于
-
由 Mrinal Jain 提交于
* Updating check_git_status() to switch to the repository root before performing git ops * More pythonic * Linting * Remove redundant Path() call * Generalizing the context manager * Fixing error in context manager * Cleanup * Change to decorator Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
- 02 11月, 2021 3 次提交
-
-
由 Pranath 提交于
possibel -> possible
-
由 Glenn Jocher 提交于
2-line update
-
由 Glenn Jocher 提交于
* Update `set_logging()` * Update export.py * pre-commit fixes * Update LoadImages * Update LoadStreams * Update print_args * Single LOGGER definition * yolo.py fix Co-authored-by:
pre-commit <pre-commit@example.com>
-
- 01 11月, 2021 1 次提交
-
-
由 Glenn Jocher 提交于
* Meshgrid `indexing='ij'` for PyTorch 1.10 Will not merge currently as breaks backwards compatibility. * Meshgrid `indexing='ij'` for PyTorch 1.10 Will not merge currently as breaks backwards compatibility. * Add check_version hard argument * Update comment
-
- 30 10月, 2021 3 次提交
-
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Update GitHub issues templates * pre-commit fixes Co-authored-by:
pre-commit <pre-commit@example.com>
-
由 Ayush Chaurasia 提交于
-
- 29 10月, 2021 1 次提交
-
-
由 Jirka Borovec 提交于
* define pre-commit * add CI code * configure * apply pre-commit * fstring * apply MD * pre-commit * Update torch_utils.py * Update print strings * notes * Cleanup code-format.yml * Update setup.cfg * Update .pre-commit-config.yaml Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
- 25 10月, 2021 5 次提交
-
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Autobatch * fix mem * fix mem2 * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update train.py * print result * Cleanup print result * swap fix in call * to 64 * use total * fix * fix * fix * fix * fix * Update * Update * Update * Update * Update * Update * Update * Cleanup printing * Update final printout * Update autobatch.py * Update autobatch.py * Update autobatch.py
-
由 Ayush Chaurasia 提交于
-
由 Zhiqiang Wang 提交于
* Minor fixes of the git checkout new branch * Use em dash to quote * Revert the change of git checkout * Maybe we should up-to-date with the upstream/master?
-