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

Bug Fix - Type error when evaluating metric depth on Kitti #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

loevlie
Copy link

@loevlie loevlie commented Jan 25, 2024

This pull request addresses the type error encountered when evaluating the fine-tuned Depth-Anything model on the Kitti dataset , a similar issue with ZoeDepth was reported here - #2113.

The error had two proposed solutions:

  1. Downgrade the torch version.
  2. Manually adjust the height and width in the model code.

I opted for the second solution, modifying the height and width manually. This decision was made to avoid potential compatibility issues with future versions of xFormers, which may require a more recent version of torch. Downgrading torch, while a viable short-term fix, could lead to more significant maintenance challenges down the line.

@NickLucche
Copy link

This also happens when running evaluate or depth_to_pointcloud more generally. Thanks for the quick fix!

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

Successfully merging this pull request may close these issues.

2 participants