how to export onnx?
#3
by
wenshinlee
- opened
I want to convert mask2former to onnx format and get an error when I execute the following command.
optimum-cli export onnx --model facebook/mask2former-swin-tiny-coco-instance mask2former-swin-tiny-coco-instance-onnx
Mistake as
ValueError: Unrecognized configuration classes ('AutoModelForImageSegmentation', 'AutoModelForSemanticSegmentation') do not match with the model type mask2former and task image-segmentation.
Can someone help me with this?