I want to export the RT-DETR model to the ONNX model.
Which articles OP had read?
I have read Export to ONNX (huggingface.co) and Export a model to ONNX with optimum.exporters.onnx (huggingface.co)
What has OP tried?
Iāve tried exporting RT-DETR transformers model to the ONNX model with āDummyVisionInputGeneratorā and Custom Config inherited from āViTOnnxConfigā
Thanks to your solution I can get a pre-trained ONNX model of rt-detrš!!
But I need to export a model from a local path, and canāt use push_to_hub.
Thank you very much for your thoughtful attentionšāāļø
I will study more and more from the above links!
Does that mean itās too big to upload to the hub?
If it simply canāt connect to the hub, then maybe the token is not yet set up?
You could have a write token issued here and set it up.
Donāt leak the token to anyone else.
Detailed instructions on how to use the hub can be found here.