Instructions to use nvidia/mit-b2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/mit-b2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/mit-b2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("nvidia/mit-b2") model = AutoModelForImageClassification.from_pretrained("nvidia/mit-b2", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
3bb39e8 -
Update README.md
d03ed0e
-
Add TF weights (#1)
- Add TF weights (3b0b8dd403b4ec60e48166efd24c51f75ca7fd74)44acc70
-
Remove reshape_last_stage
4514980
-
Update README.md
3a60993 -
Create README.md
f34c9b5
-
Update preprocessor_config.json
93341a2
-
Set do_pad to False
e1d154d
-
First commit
34e6603 -
initial commit
5f78a2c