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
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
--opset 11 may be suitable
--opset 11 may be suitable
--opset 11 not work either.
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?
same issue
hope this may help you ,onnx still not suport bincount, replace torch.bincount to this code!!!