Instructions to use microsoft/OmniParser-v2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/OmniParser-v2.0 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("microsoft/OmniParser-v2.0", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update requirements.txt
Browse files- requirements.txt +2 -1
requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ opencv-python
|
|
| 4 |
opencv-python-headless
|
| 5 |
supervision==0.18.0
|
| 6 |
timm
|
| 7 |
-
|
|
|
|
|
|
| 4 |
opencv-python-headless
|
| 5 |
supervision==0.18.0
|
| 6 |
timm
|
| 7 |
+
transformers<=4.49.0
|
| 8 |
+
ultralytics==8.3.70
|