Instructions to use MrHaddad/m_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MrHaddad/m_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="MrHaddad/m_model")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("MrHaddad/m_model") model = AutoModelForObjectDetection.from_pretrained("MrHaddad/m_model") - Notebooks
- Google Colab
- Kaggle
Upload processor
Browse files- preprocessor_config.json +1 -1
preprocessor_config.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"do_normalize": true,
|
| 3 |
"do_pad": true,
|
| 4 |
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
| 6 |
-
"feature_extractor_type": "DetrFeatureExtractor",
|
| 7 |
"format": "coco_detection",
|
| 8 |
"image_mean": [
|
| 9 |
0.485,
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_convert_annotations": true,
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_pad": true,
|
| 5 |
"do_rescale": true,
|
| 6 |
"do_resize": true,
|
|
|
|
| 7 |
"format": "coco_detection",
|
| 8 |
"image_mean": [
|
| 9 |
0.485,
|