Instructions to use zeromodels/detr-resnet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/detr-resnet-50 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/detr-resnet-50 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/detr-resnet-50") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- README.md +18 -0
- model.weights.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: object-detection
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
library_name: kerasformers
|
| 5 |
+
tags:
|
| 6 |
+
- keras
|
| 7 |
+
- kerasformers
|
| 8 |
+
- detr
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# detr-resnet-50 (Keras 3)
|
| 12 |
+
|
| 13 |
+
Pure-Keras 3 weights for [kerasformers](https://github.com/IMvision12/KerasFormers), mirrored from the GitHub release. Apache 2.0.
|
| 14 |
+
|
| 15 |
+
```python
|
| 16 |
+
from kerasformers.models.detr import DETRDetect
|
| 17 |
+
model = DETRDetect.from_weights("detr-resnet-50")
|
| 18 |
+
```
|
model.weights.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e82f760182cdea88c3edbdfcc618adc4bb3358abac39c6df6689ec71567974d0
|
| 3 |
+
size 167614512
|