Instructions to use zeromodels/maxvit_large_tf_512_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use zeromodels/maxvit_large_tf_512_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/maxvit_large_tf_512_in1k") - Notebooks
- Google Colab
- Kaggle
File size: 691 Bytes
ff5ab07 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"library_name": "zeromodels",
"zeromodels_version": "1.2.7",
"preprocessor_module": "zeromodels.models.maxvit",
"preprocessor_class": "MaxViTImageProcessor",
"variant": "maxvit_large_tf_512_in1k",
"size": {
"height": 512,
"width": 512
},
"crop_size": {
"height": 224,
"width": 224
},
"resample": "bicubic",
"do_resize": true,
"do_center_crop": false,
"do_rescale": true,
"rescale_factor": 0.00392156862745098,
"do_normalize": true,
"image_mean": [
0.485,
0.456,
0.406
],
"image_std": [
0.229,
0.224,
0.225
],
"antialias": true,
"return_tensor": true,
"data_format": null
} |