YOLO-World icon indicating copy to clipboard operation
YOLO-World copied to clipboard

onnx error python deploy/export_onnx.py configs/finetune_coco/yolo_world_v2_l_vlpan_bn_sgd_1e-3_40e_8gpus_finetune_coco.py ./log/epoch_500.pth --custom-text data/texts/mycoco_class_texts.json --opset 12

Open yxl502 opened this issue 1 year ago • 7 comments

yxl502 avatar Nov 29 '24 02:11 yxl502

anyone meet this question? torch.onnx.errors.UnsupportedOperatorError: Exporting the operator 'aten::bincount' to ONNX opset version 12 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues

yxl502 avatar Nov 29 '24 02:11 yxl502

--opset 11 may be suitable

hyqyoung avatar Dec 13 '24 03:12 hyqyoung

--opset 11 may be suitable

--opset 11 not work either.

00drdelius avatar Jan 06 '25 02:01 00drdelius

anyone meet this question? torch.onnx.errors.UnsupportedOperatorError: Exporting the operator 'aten::bincount' to ONNX opset version 12 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub: https://github.com/pytorch/pytorch/issues

Did you find any solution?

00drdelius avatar Jan 06 '25 02:01 00drdelius

same issue

Kenneth-X avatar Jan 23 '25 06:01 Kenneth-X

Image

Kenneth-X avatar Jan 23 '25 07:01 Kenneth-X

Image

hope this may help you ,onnx still not suport bincount, replace torch.bincount to this code!!!

Kenneth-X avatar Jan 23 '25 07:01 Kenneth-X