Instructions to use zeromodels/rfdetr-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/rfdetr-base 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/rfdetr-base 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/rfdetr-base") - Notebooks
- Google Colab
- Kaggle
File size: 1,033 Bytes
07d1793 d93f2dd 07d1793 d93f2dd 766091c 842a0c9 d93f2dd 07d1793 | 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 35 36 37 38 39 40 41 42 | {
"library_name": "kerasformers",
"kerasformers_version": "1.2.1",
"model_module": "kerasformers.models.rf_detr",
"model_class": "RFDETRDetect",
"variant": "rfdetr-base",
"weights": "model.weights.h5",
"schema_version": 2,
"weight_dtype": "float32",
"model_type": "rf_detr",
"vision_config": {
"hidden_dim": 256,
"backbone_hidden_size": 384,
"backbone_num_heads": 6,
"backbone_num_layers": 12,
"backbone_mlp_ratio": 4,
"backbone_use_swiglu": false,
"num_register_tokens": 0,
"out_feature_indexes": [
2,
5,
8,
11
],
"patch_size": 14,
"num_windows": 4,
"positional_encoding_size": 37,
"resolution": 560,
"dec_layers": 3,
"sa_nheads": 8,
"ca_nheads": 16,
"dec_n_points": 2,
"num_queries": 300,
"num_classes": 91,
"two_stage": true,
"bbox_reparam": true,
"lite_refpoint_refine": true,
"group_detr": 13,
"dim_feedforward": 2048,
"image_size": null
}
} |