Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

[pre-commit.ci] pre-commit suggestions (#1306)

pre-commit-ci[bot]334077726ec9
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6e387292b..5582cc5c6 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@ repos:
- id: pretty-format-json
- repo: https://github.com/psf/black
- rev: 21.8b0
+ rev: 21.9b0
hooks:
- id: black
args: [--diff]
diff --git a/docs/source/_static/css/main.css b/docs/source/_static/css/main.css
index ccde6868c..073e067c9 100644
--- a/docs/source/_static/css/main.css
+++ b/docs/source/_static/css/main.css
@@ -5,4 +5,4 @@
/* TODO: make sure it works for all the browsers */
body{
font-family: 'Montserrat', sans-serif;
-}
\ No newline at end of file
+}
diff --git a/docs/source/models/vit.rst b/docs/source/models/vit.rst
index d18425f67..88d931de5 100644
--- a/docs/source/models/vit.rst
+++ b/docs/source/models/vit.rst
@@ -54,7 +54,7 @@ with a `nn.Sequential` in order to easily build a custom image classification pi
scores = out.argmax(-1) # B
In addition to create simple image classification, our API is flexible enough to design your pipelines e.g
-to solve problems for multi-task, object detection, segmentation, etc. We show an example of a multi-task
+to solve problems for multi-task, object detection, segmentation, etc. We show an example of a multi-task
class with two different classification heads:
.. code:: python
@@ -66,7 +66,7 @@ class with two different classification heads:
image_size=224, patch_size=16)
self.head1 = K.ClassficationHead(num_classes=10)
self.head2 = K.ClassficationHead(num_classes=50)
-
+
def forward(self, x: torch.Tensor):
out = self.transformer(x)
return {