Instructions to use Factral/DETR-fashionpedia-fixed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Factral/DETR-fashionpedia-fixed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="Factral/DETR-fashionpedia-fixed")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("Factral/DETR-fashionpedia-fixed") model = AutoModel.from_pretrained("Factral/DETR-fashionpedia-fixed") - Notebooks
- Google Colab
- Kaggle
Fabian *-* commited on
Commit ·
ae69192
1
Parent(s): 35348bf
added preprocessor
Browse files- preprocessor_config.json +17 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_resize": true,
|
| 4 |
+
"image_processor_type": "DetrImageProcessor",
|
| 5 |
+
"format": "coco_detection",
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_std": [
|
| 12 |
+
0.229,
|
| 13 |
+
0.224,
|
| 14 |
+
0.225
|
| 15 |
+
],
|
| 16 |
+
"size": {"shortest_edge": 800, "longest_edge": 1333}
|
| 17 |
+
}
|