Aryn
/

Object Detection
Transformers
Safetensors
deformable_detr
vision
Inference Endpoints
HichTala commited on
Commit
8a0fa1d
·
verified ·
1 Parent(s): b066969

[Clean-up] Planned removal of the `max_size` argument

Browse files

- Remove deprecated `max_size` and replace `size` with a Dict
- Replace deprecated `"feature_extractor_type": "DetrFeatureExtractor"` with `"image_processor_type": "DetrImageProcessor"`

Files changed (1) hide show
  1. preprocessor_config.json +5 -3
preprocessor_config.json CHANGED
@@ -13,6 +13,8 @@
13
  1.0,
14
  1.0
15
  ],
16
- "max_size": 1333,
17
- "size": 800
18
- }
 
 
 
13
  1.0,
14
  1.0
15
  ],
16
+ "size": {
17
+ "longest_edge": 1333,
18
+ "shortest_edge": 800
19
+ }
20
+ }