Are object detection models supported in optimum?

are object detection models supported in optimum? I don鈥檛 see any tasks defined for OD here optimum/optimum/onnxruntime/trainer.py at main 路 huggingface/optimum 路 GitHub

Hi @sak99! What is your use case (training, inference, ONNX, BetterTransformer,鈥)? For instance it is possible to export models like DETR to the ONNX format.

Hi @regisss I am looking at Faster R-CNN, YOLO, SparseRCNN

DETR and YOLOS are the only object-detection models that can be exported to ONNX with Optimum. The models you mentioned are not supported by the Transformers library so they are not by Optimum either.