[GH-ISSUE #2678] Onnx export internal validation error. #1915

Open
opened 2026-10-20 10:13:10 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @mfarrukh14 on GitHub (Sep 9, 2025).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2678

whenever i try to export .pth model to onnx it creates the .onnx file but gives following error:
torch.onnx.errors.CheckerError: Unrecognized attribute: axes for operator ReduceL2 ==> Context: Bad node spec for node. Name: /flow/flows.6/enc/ReduceL2 OpType: ReduceL2

Originally created by @mfarrukh14 on GitHub (Sep 9, 2025). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2678 whenever i try to export .pth model to onnx it creates the .onnx file but gives following error: torch.onnx.errors.CheckerError: Unrecognized attribute: axes for operator ReduceL2 ==> Context: Bad node spec for node. Name: /flow/flows.6/enc/ReduceL2 OpType: ReduceL2
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1915
No description provided.