Instructions to use timm/inception_v4.tf_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/inception_v4.tf_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/inception_v4.tf_in1k", pretrained=True) - Transformers
How to use timm/inception_v4.tf_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/inception_v4.tf_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/inception_v4.tf_in1k", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +0 -1
config.json
CHANGED
|
@@ -25,7 +25,6 @@
|
|
| 25 |
0.5
|
| 26 |
],
|
| 27 |
"num_classes": 1000,
|
| 28 |
-
"label_offset": 1,
|
| 29 |
"pool_size": [
|
| 30 |
8,
|
| 31 |
8
|
|
|
|
| 25 |
0.5
|
| 26 |
],
|
| 27 |
"num_classes": 1000,
|
|
|
|
| 28 |
"pool_size": [
|
| 29 |
8,
|
| 30 |
8
|