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

Discrepancy between PyTorch and ONNX depth anything v2 small models #22

Open
dfatimazohra opened this issue Aug 27, 2024 · 1 comment
Open

Comments

@dfatimazohra
Copy link

HelloI'm seeing a discrepancy between PyTorch and ONNX depth anything v2 small models.

Does anyone have any solution for this issue?
Thanks

@fabio-sim
Copy link
Owner

Hi @dfatimazohra, thank you for your interest in Depth-Anything-ONNX.

Due to differing implementations, the outputs of torch and ORT usually have slight differences on the order of 1e-3 ~ 1e-4. If you're observing something much larger (e.g., on the order of 1e-1), could you provide the details (what inputs, which models) to reproduce it?

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