ultralytics 8.0.97 confusion matrix, windows, docs updates (#2511)
Co-authored-by: Yonghye Kwon <developer.0hye@gmail.com> Co-authored-by: Dowon <ks2515@naver.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This commit is contained in:
parent
6ee3a9a74b
commit
d1107ca4cb
138 changed files with 744 additions and 351 deletions
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
comments: true
|
||||
description: Learn about the Vision Transformer (ViT) and segment anything with SAM models. Train and use pre-trained models with Python API.
|
||||
---
|
||||
|
||||
# Vision Transformers
|
||||
|
|
@ -9,11 +10,11 @@ Vit models currently support Python environment:
|
|||
```python
|
||||
from ultralytics.vit import SAM
|
||||
|
||||
# from ultralytics.vit import MODEL_TYPe
|
||||
# from ultralytics.vit import MODEL_TYPE
|
||||
|
||||
model = SAM("sam_b.pt")
|
||||
model.info() # display model information
|
||||
model.predict(...) # train the model
|
||||
model.predict(...) # predict
|
||||
```
|
||||
|
||||
# Segment Anything
|
||||
|
|
@ -33,4 +34,4 @@ model.predict(...) # train the model
|
|||
|------------|--------------------|
|
||||
| Inference | :heavy_check_mark: |
|
||||
| Validation | :x: |
|
||||
| Training | :x: |
|
||||
| Training | :x: |
|
||||
Loading…
Add table
Add a link
Reference in a new issue