Instructions to use zeromodels/dino-vitb16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/dino-vitb16 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/dino-vitb16 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/dino-vitb16") - Notebooks
- Google Colab
- Kaggle
File size: 553 Bytes
81298e9 7101aae 81298e9 72915a1 81298e9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"preprocessor_module": "kerasformers.models.dino",
"preprocessor_class": "DinoImageProcessor",
"variant": "dino-vitb16",
"image_resolution": 224,
"model_type": "dino_vit",
"resize_size": 256,
"mean": [
0.48500001430511475,
0.4560000002384186,
0.4059999883174896
],
"std": [
0.2290000021457672,
0.2240000069141388,
0.22499999403953552
],
"do_normalize": true,
"do_resize": true,
"data_format": "channels_last"
} |