ultralytics 8.0.134 add MobileSAM support (#3474)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com>
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
Co-authored-by: Laughing-q <1185102784@qq.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Chaoning Zhang
2023-07-13 20:25:56 +08:00
committed by GitHub
parent c55a98ab8e
commit 201e69e4e4
32 changed files with 1472 additions and 841 deletions

View File

@ -1,9 +0,0 @@
---
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>

View File

@ -18,6 +18,11 @@ keywords: SAM, VIT, computer vision models, build SAM models, build VIT models,
### ::: ultralytics.vit.sam.build.build_sam_vit_b
<br><br>
## build_mobile_sam
---
### ::: ultralytics.vit.sam.build.build_mobile_sam
<br><br>
## _build_sam
---
### ::: ultralytics.vit.sam.build._build_sam

View File

@ -1,9 +0,0 @@
---
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>

View File

@ -1,9 +0,0 @@
---
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>

View File

@ -0,0 +1,59 @@
---
description: Learn about the Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, and TinyViT modules.
keywords: Conv2d_BN, MBConv, ConvLayer, Attention, BasicLayer, TinyViT
---
## Conv2d_BN
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Conv2d_BN
<br><br>
## PatchEmbed
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.PatchEmbed
<br><br>
## MBConv
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.MBConv
<br><br>
## PatchMerging
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.PatchMerging
<br><br>
## ConvLayer
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.ConvLayer
<br><br>
## Mlp
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Mlp
<br><br>
## Attention
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.Attention
<br><br>
## TinyViTBlock
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.TinyViTBlock
<br><br>
## BasicLayer
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.BasicLayer
<br><br>
## LayerNorm2d
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.LayerNorm2d
<br><br>
## TinyViT
---
### ::: ultralytics.vit.sam.modules.tiny_encoder.TinyViT
<br><br>

View File

@ -0,0 +1,9 @@
---
description: Learn how to use FastSAM in Ultralytics YOLO to improve object detection accuracy and speed.
keywords: FastSAM, object detection, accuracy, speed, Ultralytics YOLO
---
## FastSAM
---
### ::: ultralytics.yolo.fastsam.model.FastSAM
<br><br>

View File

@ -0,0 +1,9 @@
---
description: FastSAMPredictor API reference and usage guide for the Ultralytics YOLO object detection library.
keywords: FastSAMPredictor, API, reference, usage, guide, Ultralytics, YOLO, object detection, library
---
## FastSAMPredictor
---
### ::: ultralytics.yolo.fastsam.predict.FastSAMPredictor
<br><br>

View File

@ -0,0 +1,9 @@
---
description: Learn how to use FastSAMPrompt in Ultralytics YOLO for fast and efficient object detection and tracking.
keywords: FastSAMPrompt, Ultralytics YOLO, object detection, tracking, fast, efficient
---
## FastSAMPrompt
---
### ::: ultralytics.yolo.fastsam.prompt.FastSAMPrompt
<br><br>

View File

@ -0,0 +1,14 @@
---
description: Learn how to adjust bounding boxes to the image border in Ultralytics YOLO framework. Improve object detection accuracy by accounting for image borders.
keywords: adjust_bboxes_to_image_border, Ultralytics YOLO, object detection, bounding boxes, image border
---
## adjust_bboxes_to_image_border
---
### ::: ultralytics.yolo.fastsam.utils.adjust_bboxes_to_image_border
<br><br>
## bbox_iou
---
### ::: ultralytics.yolo.fastsam.utils.bbox_iou
<br><br>

View File

@ -0,0 +1,9 @@
---
description: Learn about the FastSAMValidator module in Ultralytics YOLO. Validate and evaluate Segment Anything Model (SAM) datasets for object detection models with ease.
keywords: FastSAMValidator, Ultralytics YOLO, SAM datasets, object detection, validation, evaluation
---
## FastSAMValidator
---
### ::: ultralytics.yolo.fastsam.val.FastSAMValidator
<br><br>

View File

@ -123,6 +123,11 @@ keywords: Ultralytics, YOLO, Utils Ops, Functions, coco80_to_coco91_class, scale
### ::: ultralytics.yolo.utils.ops.process_mask_native
<br><br>
## scale_masks
---
### ::: ultralytics.yolo.utils.ops.scale_masks
<br><br>
## scale_coords
---
### ::: ultralytics.yolo.utils.ops.scale_coords