how using Optimum to convert it ?
#1
by
summon
- opened
Optimum is good, but I used the tool to convert, but I converted failed. because I don't know how to setting task config, can u help me?
optimum-cli export onnx --model CIDAS/clipseg-rd64-refined clipseg_onnx/ --opset 11 --batch_size 1 --sequence_length 77 --width 352 --height 352 but get error:ValueError: Unrecognized configuration classes ('AutoModelForImageSegmentation', 'AutoModelForSemanticSegmentation') do not match with the model type clipseg and task image-segmentation