Instructions to use nvidia/mit-b3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/mit-b3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="nvidia/mit-b3") 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-b3") model = AutoModelForImageClassification.from_pretrained("nvidia/mit-b3", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add TF weights
Model converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). All converted model outputs and hidden layers were validated against its Pytorch counterpart. Maximum crossload output difference=4.768e-06; Maximum crossload hidden layer difference=3.160e-04; Maximum conversion output difference=4.768e-06; Maximum conversion hidden layer difference=3.160e-04;58c9104
-
Remove reshape_last_stage
6feb07d
-
Update README.md
60e7bd0 -
Create README.md
9632fd0
-
Update preprocessor_config.json
8ce6ec8
-
Set do_pad to False
e35fe30
-
First commit
627d6df -
initial commit
db97bb3