From 78c58e0d70bb7a4c37a8ccb963b155ba3e4468d2 Mon Sep 17 00:00:00 2001 From: vladmandic Date: Wed, 11 Feb 2026 11:12:21 +0100 Subject: [PATCH] update precommit Signed-off-by: vladmandic --- .pre-commit-config.yaml | 22 ++++++++++--------- .../models/base_models/midas_repo/README.md | 16 +++++++------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c15044f4..b7b9a297f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,20 +13,17 @@ repos: rev: v6.0.0 hooks: - id: check-added-large-files - - id: check-case-conflict - - id: check-merge-conflict - - id: check-symlinks - - id: check-illegal-windows-names - - id: check-merge-conflict - - id: detect-private-key - id: check-builtin-literals - id: check-case-conflict + - id: check-illegal-windows-names + - id: check-merge-conflict - id: check-symlinks - - id: check-yaml - id: check-json - id: check-toml - id: check-xml + - id: check-yaml - id: debug-statements + - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending - id: check-executables-have-shebangs @@ -42,7 +39,12 @@ repos: .github/ISSUE_TEMPLATE/.*\.yml )$ - repo: https://github.com/oliv5/pre-commit-indents-to-spaces - rev: v0.0.1 + rev: v0.0.3 hooks: - - id: indents-to-tabs - args: ["--spaces=4"] + - id: indents-to-spaces + args: ["--spaces=4"] + types: [python] + - id: indents-to-spaces + args: ["--spaces=2"] + types: [file] + files: \.(json|js|mjs|css|html|md|yaml|toml|sh)$ diff --git a/modules/control/proc/zoe/zoedepth/models/base_models/midas_repo/README.md b/modules/control/proc/zoe/zoedepth/models/base_models/midas_repo/README.md index 88ec845d1..eb7a089e8 100644 --- a/modules/control/proc/zoe/zoedepth/models/base_models/midas_repo/README.md +++ b/modules/control/proc/zoe/zoedepth/models/base_models/midas_repo/README.md @@ -216,10 +216,10 @@ Speed: 22 FPS - New models based on [Dense Prediction Transformers](https://arxiv.org/abs/2103.13413) are on average [21% more accurate](#Accuracy) than MiDaS v2.1 - Additional models can be found [here](https://github.com/isl-org/DPT) * [Nov 2020] Released MiDaS v2.1: - - New model that was trained on 10 datasets and is on average about [10% more accurate](#Accuracy) than [MiDaS v2.0](https://github.com/isl-org/MiDaS/releases/tag/v2) - - New light-weight model that achieves [real-time performance](https://github.com/isl-org/MiDaS/tree/master/mobile) on mobile platforms. - - Sample applications for [iOS](https://github.com/isl-org/MiDaS/tree/master/mobile/ios) and [Android](https://github.com/isl-org/MiDaS/tree/master/mobile/android) - - [ROS package](https://github.com/isl-org/MiDaS/tree/master/ros) for easy deployment on robots + - New model that was trained on 10 datasets and is on average about [10% more accurate](#Accuracy) than [MiDaS v2.0](https://github.com/isl-org/MiDaS/releases/tag/v2) + - New light-weight model that achieves [real-time performance](https://github.com/isl-org/MiDaS/tree/master/mobile) on mobile platforms. + - Sample applications for [iOS](https://github.com/isl-org/MiDaS/tree/master/mobile/ios) and [Android](https://github.com/isl-org/MiDaS/tree/master/mobile/android) + - [ROS package](https://github.com/isl-org/MiDaS/tree/master/ros) for easy deployment on robots * [Jul 2020] Added TensorFlow and ONNX code. Added [online demo](http://35.202.76.57/). * [Dec 2019] Released new version of MiDaS - the new model is significantly more accurate and robust * [Jul 2019] Initial release of MiDaS ([Link](https://github.com/isl-org/MiDaS/releases/tag/v1)) @@ -242,10 +242,10 @@ If you use a DPT-based model, please also cite: ``` @article{Ranftl2021, - author = {Ren\'{e} Ranftl and Alexey Bochkovskiy and Vladlen Koltun}, - title = {Vision Transformers for Dense Prediction}, - journal = {ICCV}, - year = {2021}, + author = {Ren\'{e} Ranftl and Alexey Bochkovskiy and Vladlen Koltun}, + title = {Vision Transformers for Dense Prediction}, + journal = {ICCV}, + year = {2021}, } ```