Add Ultralytics ViT Docs (#3230)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
89
docs/reference/vit/sam/amg.md
Normal file
89
docs/reference/vit/sam/amg.md
Normal file
@ -0,0 +1,89 @@
|
||||
---
|
||||
description: Explore and learn about functions in Ultralytics MaskData library such as mask_to_rle_pytorch, area_from_rle, generate_crop_boxes, and more.
|
||||
keywords: Ultralytics, SAM, MaskData, mask_to_rle_pytorch, area_from_rle, generate_crop_boxes, batched_mask_to_box, documentation
|
||||
---
|
||||
|
||||
## MaskData
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.MaskData
|
||||
<br><br>
|
||||
|
||||
## is_box_near_crop_edge
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.is_box_near_crop_edge
|
||||
<br><br>
|
||||
|
||||
## box_xyxy_to_xywh
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.box_xyxy_to_xywh
|
||||
<br><br>
|
||||
|
||||
## batch_iterator
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.batch_iterator
|
||||
<br><br>
|
||||
|
||||
## mask_to_rle_pytorch
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.mask_to_rle_pytorch
|
||||
<br><br>
|
||||
|
||||
## rle_to_mask
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.rle_to_mask
|
||||
<br><br>
|
||||
|
||||
## area_from_rle
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.area_from_rle
|
||||
<br><br>
|
||||
|
||||
## calculate_stability_score
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.calculate_stability_score
|
||||
<br><br>
|
||||
|
||||
## build_point_grid
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.build_point_grid
|
||||
<br><br>
|
||||
|
||||
## build_all_layer_point_grids
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.build_all_layer_point_grids
|
||||
<br><br>
|
||||
|
||||
## generate_crop_boxes
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.generate_crop_boxes
|
||||
<br><br>
|
||||
|
||||
## uncrop_boxes_xyxy
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.uncrop_boxes_xyxy
|
||||
<br><br>
|
||||
|
||||
## uncrop_points
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.uncrop_points
|
||||
<br><br>
|
||||
|
||||
## uncrop_masks
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.uncrop_masks
|
||||
<br><br>
|
||||
|
||||
## remove_small_regions
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.remove_small_regions
|
||||
<br><br>
|
||||
|
||||
## coco_encode_rle
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.coco_encode_rle
|
||||
<br><br>
|
||||
|
||||
## batched_mask_to_box
|
||||
---
|
||||
### ::: ultralytics.vit.sam.amg.batched_mask_to_box
|
||||
<br><br>
|
9
docs/reference/vit/sam/autosize.md
Normal file
9
docs/reference/vit/sam/autosize.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Learn how to use the ResizeLongestSide module in Ultralytics YOLO for automatic image resizing. Resize your images with ease.
|
||||
keywords: ResizeLongestSide, Ultralytics YOLO, automatic image resizing, image resizing
|
||||
---
|
||||
|
||||
## ResizeLongestSide
|
||||
---
|
||||
### ::: ultralytics.vit.sam.autosize.ResizeLongestSide
|
||||
<br><br>
|
29
docs/reference/vit/sam/build.md
Normal file
29
docs/reference/vit/sam/build.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
description: Learn how to build SAM and VIT models with Ultralytics YOLO Docs. Enhance your understanding of computer vision models today!.
|
||||
keywords: SAM, VIT, computer vision models, build SAM models, build VIT models, Ultralytics YOLO Docs
|
||||
---
|
||||
|
||||
## build_sam_vit_h
|
||||
---
|
||||
### ::: ultralytics.vit.sam.build.build_sam_vit_h
|
||||
<br><br>
|
||||
|
||||
## build_sam_vit_l
|
||||
---
|
||||
### ::: ultralytics.vit.sam.build.build_sam_vit_l
|
||||
<br><br>
|
||||
|
||||
## build_sam_vit_b
|
||||
---
|
||||
### ::: ultralytics.vit.sam.build.build_sam_vit_b
|
||||
<br><br>
|
||||
|
||||
## _build_sam
|
||||
---
|
||||
### ::: ultralytics.vit.sam.build._build_sam
|
||||
<br><br>
|
||||
|
||||
## build_sam
|
||||
---
|
||||
### ::: ultralytics.vit.sam.build.build_sam
|
||||
<br><br>
|
9
docs/reference/vit/sam/model.md
Normal file
9
docs/reference/vit/sam/model.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Learn about the Ultralytics VIT SAM model for object detection and how it can help streamline your computer vision workflow. Check out the documentation for implementation details and examples.
|
||||
keywords: Ultralytics, VIT, SAM, object detection, computer vision, deep learning, implementation, examples
|
||||
---
|
||||
|
||||
## SAM
|
||||
---
|
||||
### ::: ultralytics.vit.sam.model.SAM
|
||||
<br><br>
|
9
docs/reference/vit/sam/modules/decoders.md
Normal file
9
docs/reference/vit/sam/modules/decoders.md
Normal file
@ -0,0 +1,9 @@
|
||||
## MaskDecoder
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.decoders.MaskDecoder
|
||||
<br><br>
|
||||
|
||||
## MLP
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.decoders.MLP
|
||||
<br><br>
|
54
docs/reference/vit/sam/modules/encoders.md
Normal file
54
docs/reference/vit/sam/modules/encoders.md
Normal file
@ -0,0 +1,54 @@
|
||||
---
|
||||
description: Learn about Ultralytics ViT encoder, position embeddings, attention, window partition, and more in our comprehensive documentation.
|
||||
keywords: Ultralytics YOLO, ViT Encoder, Position Embeddings, Attention, Window Partition, Rel Pos Encoding
|
||||
---
|
||||
|
||||
## ImageEncoderViT
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.ImageEncoderViT
|
||||
<br><br>
|
||||
|
||||
## PromptEncoder
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.PromptEncoder
|
||||
<br><br>
|
||||
|
||||
## PositionEmbeddingRandom
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.PositionEmbeddingRandom
|
||||
<br><br>
|
||||
|
||||
## Block
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.Block
|
||||
<br><br>
|
||||
|
||||
## Attention
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.Attention
|
||||
<br><br>
|
||||
|
||||
## PatchEmbed
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.PatchEmbed
|
||||
<br><br>
|
||||
|
||||
## window_partition
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.window_partition
|
||||
<br><br>
|
||||
|
||||
## window_unpartition
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.window_unpartition
|
||||
<br><br>
|
||||
|
||||
## get_rel_pos
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.get_rel_pos
|
||||
<br><br>
|
||||
|
||||
## add_decomposed_rel_pos
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.encoders.add_decomposed_rel_pos
|
||||
<br><br>
|
9
docs/reference/vit/sam/modules/mask_generator.md
Normal file
9
docs/reference/vit/sam/modules/mask_generator.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Learn about the SamAutomaticMaskGenerator module in Ultralytics YOLO, an automatic mask generator for image segmentation.
|
||||
keywords: SamAutomaticMaskGenerator, Ultralytics YOLO, automatic mask generator, image segmentation
|
||||
---
|
||||
|
||||
## SamAutomaticMaskGenerator
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.mask_generator.SamAutomaticMaskGenerator
|
||||
<br><br>
|
9
docs/reference/vit/sam/modules/prompt_predictor.md
Normal file
9
docs/reference/vit/sam/modules/prompt_predictor.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Learn about PromptPredictor - a module in Ultralytics VIT SAM that predicts image captions based on prompts. Get started today!.
|
||||
keywords: PromptPredictor, Ultralytics, YOLO, VIT SAM, image captioning, deep learning, computer vision
|
||||
---
|
||||
|
||||
## PromptPredictor
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.prompt_predictor.PromptPredictor
|
||||
<br><br>
|
9
docs/reference/vit/sam/modules/sam.md
Normal file
9
docs/reference/vit/sam/modules/sam.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: Explore the Sam module in Ultralytics VIT, a PyTorch-based vision library, and learn how to improve your image classification and segmentation tasks.
|
||||
keywords: Ultralytics VIT, Sam module, PyTorch vision library, image classification, segmentation tasks
|
||||
---
|
||||
|
||||
## Sam
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.sam.Sam
|
||||
<br><br>
|
19
docs/reference/vit/sam/modules/transformer.md
Normal file
19
docs/reference/vit/sam/modules/transformer.md
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
description: Explore the Attention and TwoWayTransformer modules in Ultralytics YOLO documentation. Learn how to integrate them in your project efficiently.
|
||||
keywords: Ultralytics YOLO, Attention module, TwoWayTransformer module, Object Detection, Deep Learning
|
||||
---
|
||||
|
||||
## TwoWayTransformer
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.transformer.TwoWayTransformer
|
||||
<br><br>
|
||||
|
||||
## TwoWayAttentionBlock
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.transformer.TwoWayAttentionBlock
|
||||
<br><br>
|
||||
|
||||
## Attention
|
||||
---
|
||||
### ::: ultralytics.vit.sam.modules.transformer.Attention
|
||||
<br><br>
|
9
docs/reference/vit/sam/predict.md
Normal file
9
docs/reference/vit/sam/predict.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
description: The VIT SAM Predictor from Ultralytics provides object detection capabilities for YOLO. Learn how to use it and speed up your object detection models.
|
||||
keywords: Ultralytics, VIT SAM Predictor, object detection, YOLO
|
||||
---
|
||||
|
||||
## Predictor
|
||||
---
|
||||
### ::: ultralytics.vit.sam.predict.Predictor
|
||||
<br><br>
|
Reference in New Issue
Block a user