- 03 8月, 2022 1 次提交
-
-
由 Glenn Jocher 提交于
-
- 02 8月, 2022 6 次提交
-
-
由 Glenn Jocher 提交于
* New `smart_resume()` * Update torch_utils.py * Update torch_utils.py * Update torch_utils.py * fix
-
由 Jackson Argo 提交于
* Update hubconf.py Loading a custom yolov model causes this line to fail. Adding a test to check if the model actually has a model.model field. With this check, I'm able to load the model no prob. Loading model via ```py model = torch.hub.load( 'ultralytics/yolov5', 'custom', 'models/frozen_backbone_coco_unlabeled_best.onnx', autoshape=True, force_reload=False ) ``` Causes traceback: ``` Traceback (most recent call last): File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app response = self.full_dispatch_request() File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request rv = self.handle_user_exception(e) File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request rv = self.dispatch_request() File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args) File "/Users/jackson/Documents/GitHub/w210-capstone/api/endpoints/predictions.py", line 26, in post_predictions yolov_predictions = predict_bounding_boxes_for_collection(collection_id) File "/Users/jackson/Documents/GitHub/w210-capstone/api/predictions/predict_bounding_boxes.py", line 43, in predict_bounding_boxes_for_collection model = torch.hub.load( File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/torch/hub.py", line 404, in load model = _load_local(repo_or_dir, model, *args, **kwargs) File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/torch/hub.py", line 433, in _load_local model = entry(*args, **kwargs) File "/Users/jackson/.cache/torch/hub/ultralytics_yolov5_master/hubconf.py", line 72, in custom return _create(path, autoshape=autoshape, verbose=_verbose, device=device) File "/Users/jackson/.cache/torch/hub/ultralytics_yolov5_master/hubconf.py", line 67, in _create raise Exception(s) from e Exception: 'DetectMultiBackend' object has no attribute 'model'. Cache may be out of date, try `force_reload=True` or see https://github.com/ultralytics/yolov5/issues/36 for help. Exception on /api/v1/predictions [POST] Traceback (most recent call last): File "/Users/jackson/.cache/torch/hub/ultralytics_yolov5_master/hubconf.py", line 58, in _create model.model.model[-1].inplace = False # Detect.inplace=False for safe multithread inference File "/Users/jackson/Documents/GitHub/w210-capstone/.venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1185, in __getattr__ raise AttributeError("'{}' object has no attribute '{}'".format( AttributeError: 'DetectMultiBackend' object has no attribute 'model' ``` * Update hubconf.py * Update common.py Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 pre-commit-ci[bot] 提交于
updates: - [github.com/asottile/pyupgrade: v2.34.0 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.3) - [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2) Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
Update
-
由 Glenn Jocher 提交于
* Remove hook `torch.nan_to_num(x)` Observed erratic training behavior (green line) with the nan_to_num hook in classifier branch. I'm going to remove it from master. * Update train.py
-
由 Glenn Jocher 提交于
* Update README.md with contributors.png Replace dynamic svg from opencollective with static png for improved stability and lighter size (400kB vs 2MB). @AyushExel * Update README.md * Update README.md * Update README_cn.md * [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>
-
- 01 8月, 2022 8 次提交
-
-
由 UnglvKitDe 提交于
* Add tensor hooks and gradient clipping https://github.com/ultralytics/yolov5/issues/8578 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Remove retain_grad(), because its not necessary * Update train.py * Simplify * Update train.py * Update train.py * Update train.py * Update train.py 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 提交于
-
由 Glenn Jocher 提交于
* Update * Update
-
由 Glenn Jocher 提交于
* Update .pre-commit-config.yaml Comment EOF fixer * [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 提交于
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
-
由 Amir Pourmand 提交于
* Add remote ultralytics and check git status with that * Simplify * Update general.py * Update general.py * s fix Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
- 31 7月, 2022 10 次提交
-
-
由 Glenn Jocher 提交于
* Update ci-testing.yml streamlined tests * Update ci-testing.yml * Update ci-testing.yml
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
Resolves https://github.com/ultralytics/yolov5/issues/8791 Bug first introduced in #8782
-
由 Glenn Jocher 提交于
Disable FP16 validation if AMP checks fail or amp=False.
-
由 Glenn Jocher 提交于
Detect.inplace=False for safe multithread inference
-
由 Glenn Jocher 提交于
Deprecate torch 1.6.0 compat _non_persistent_buffers_set
-
由 Glenn Jocher 提交于
* Update Colab Notebook CI * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Created using Colaboratory * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update tutorial.ipynb Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
-
由 Glenn Jocher 提交于
-
由 Glenn Jocher 提交于
* Add hubconf.py argparser * Add hubconf.py argparser
-
- 30 7月, 2022 1 次提交
-
- 29 7月, 2022 4 次提交
-
-
由 Glenn Jocher 提交于
Fix detect.py --update Resolves https://github.com/ultralytics/yolov5/issues/8776
-
由 Glenn Jocher 提交于
Help resolve confusion around zero-metrics val.py results when no labels are found in https://github.com/ultralytics/yolov5/issues/8753
-
由 jbutle55 提交于
* Fix confusion matrix update when no predictions are made * Update metrics.py * Simply confusion matrix changes * Simply confusion matrix fix Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Colin Wong 提交于
* Dynamic batch size support for TensorRT * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update export.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix optimization profile when batch size is 1 * Warn users if they use batch-size=1 with dynamic * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * More descriptive assertion error * Fix syntax * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * pre-commit formatting sucked * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update export.py Co-authored-by:
Colin Wong <noreply@brains4drones.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>
-
- 27 7月, 2022 3 次提交
-
-
由 Glenn Jocher 提交于
Resolve #8012 (again)
-
由 Max Strobel 提交于
Checking if ``/workspace`` exists is not a reliable method to check if the process runs in a docker container. Reusing the logic from the npm "is-docker" package to check if the process runs in a container. References: https://github.com/sindresorhus/is-docker/blob/main/index.js Fixes #8710. Co-authored-by:
Maximilian Strobel <Maximilian.Strobel@infineon.com> Co-authored-by:
Glenn Jocher <glenn.jocher@ultralytics.com>
-
由 Glenn Jocher 提交于
Revert "Fix BGR->RGB Bug in albumentations #8641 (#8695)" This reverts commit 2e1291fd.
-
- 26 7月, 2022 3 次提交
-
-
由 Glenn Jocher 提交于
-
由 UnglvKitDe 提交于
* Fix BGR->RGB Bug in albumentations https://github.com/ultralytics/yolov5/issues/8641 * Change transform methode from cv2 to numpy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Simplify * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update augmentations.py 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 提交于
* New `HUBDatasetStats()` class Usage examples: ``` from utils.dataloaders import * stats = HUBDatasetStats('coco128.yaml', autodownload=True) # method 1 stats = HUBDatasetStats('path/to/coco128_with_yaml.zip') # method 1 stats.get_json(save=False) stats.process_images() ``` @kalenmike * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dataloaders.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dataloaders.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dataloaders.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update dataloaders.py * [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>
-
- 25 7月, 2022 3 次提交
-
-
由 Glenn Jocher 提交于
* Update dataloaders.py * Update dataloaders.py
-
由 Glenn Jocher 提交于
Resolves https://github.com/ultralytics/yolov5/issues/8642
-
由 Glenn Jocher 提交于
-
- 24 7月, 2022 1 次提交
-
-
由 Glenn Jocher 提交于
Faster crops Following https://github.com/ultralytics/yolov5/issues/8641#issuecomment-1193190325
-