Instructions to use zeromodels/deit_base_patch16_224_fb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/deit_base_patch16_224_fb_in1k with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use zeromodels/deit_base_patch16_224_fb_in1k with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/deit_base_patch16_224_fb_in1k") - Notebooks
- Google Colab
- Kaggle
File size: 576 Bytes
5f6a14b 97fec4e 5f6a14b 97fec4e 593b70e 5f6a14b 97fec4e 5f6a14b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"model_module": "kerasformers.models.deit",
"model_class": "DeiTImageClassify",
"variant": "deit_base_patch16_224_fb_in1k",
"weights": "model.weights.h5",
"schema_version": 2,
"weight_dtype": "float32",
"model_type": "deit",
"vision_config": {
"patch_size": 16,
"embed_dim": 768,
"depth": 12,
"num_heads": 12,
"use_distillation": false,
"no_embed_class": false,
"layer_scale_init": null,
"image_size": 224,
"num_classes": 1000
}
} |