Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #536

Open
yxl502 opened this issue Nov 29, 2024 · 2 comments

Comments

@yxl502
Copy link

yxl502 commented Nov 29, 2024

No description provided.

@yxl502
Copy link
Author

yxl502 commented Nov 29, 2024

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 yxl502 changed the title onnx error onnx error python deploy/export_onnx.py configs/finetune_coco/yolo_world_v2_l_vlpan_bn_sgd_1e-3_40e_8gpus_finetune_coco.py /data_1/yxl/Fcos/YOLO-World-master/log/epoch_500.pth --custom-text data/texts/mycoco_class_texts.json --opset 12 Nov 29, 2024
@yxl502 yxl502 changed the title onnx error python deploy/export_onnx.py configs/finetune_coco/yolo_world_v2_l_vlpan_bn_sgd_1e-3_40e_8gpus_finetune_coco.py /data_1/yxl/Fcos/YOLO-World-master/log/epoch_500.pth --custom-text data/texts/mycoco_class_texts.json --opset 12 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 Nov 29, 2024
@hyqyoung
Copy link

--opset 11 may be suitable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants