Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PyTorch 1.11.0 compatibility updates (#1914)
* PyTorch 1.11.0 compatibility updates Resolves `AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'` first raised in ultralytics/yolov5#5499 and observed in all CI runs on just-released PyTorch 1.11.0. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update experimental.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information