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

模型输出形状不对 #592

Open
ArchLance opened this issue Jan 9, 2025 · 1 comment
Open

模型输出形状不对 #592

ArchLance opened this issue Jan 9, 2025 · 1 comment

Comments

@ArchLance
Copy link

我在复现rerank_onnx_backend.py发现模型输出的结果形状为(batch_size, squence_length, 768),按道理讲应该是(batch_size, 1)吧,是我onnx模型导出错误么
image
image

@ArchLance
Copy link
Author

是模型导出有问题,那我如何正确导出onnx模型呢

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

1 participant