π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
[pre-commit.ci] pre-commit suggestions (#1306)
pre-commit-ci[bot]334077726ec9
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 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.9b0hooks:- id: blackargs: [--diff]diff --git a/docs/source/_static/css/main.css b/docs/source/_static/css/main.cssindex 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.rstindex 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 piscores = out.argmax(-1) # BIn 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-taskclass 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 {