Instructions to use Modotte/AIRealNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Modotte/AIRealNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Modotte/AIRealNet") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Modotte/AIRealNet") model = AutoModelForImageClassification.from_pretrained("Modotte/AIRealNet", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -112,7 +112,7 @@ pip install -U transformers
|
|
| 112 |
from transformers import pipeline
|
| 113 |
|
| 114 |
pipe = pipeline("image-classification", model="XenArcAI/AIRealNet")
|
| 115 |
-
pipe("https://huggingface.co/
|
| 116 |
```
|
| 117 |
# Demo
|
| 118 |
|
|
|
|
| 112 |
from transformers import pipeline
|
| 113 |
|
| 114 |
pipe = pipeline("image-classification", model="XenArcAI/AIRealNet")
|
| 115 |
+
pipe("https://cdn-uploads.huggingface.co/production/uploads/677fcdf29b9a9863eba3f29f/eVkKUTdiInUl6pbIUghQC.png")# example image
|
| 116 |
```
|
| 117 |
# Demo
|
| 118 |
|