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

[Fix] image size before feeding into model #133

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

Conversation

zafirshi
Copy link

Hi 👋 !

Thx for your great work in monocular depth estimation and the results in my side is quite amazing! 🎉

In this PR:

  1. I fixed the issue with the input model image size.
    Previously, the height of the raw image was used for resizing (See), and if the resolution of the raw image is large, the program would run out of memory (OOM).

  2. Also I removed some redundant code from the script.
    For depth_pred, the original script performed a resize to match the resolution of depth_pred with that of the raw image (See). This operation has already been implemented in here and here.

I would greatly appreciate it if PR could be accepted! Any code suggestions would be appreciated! 😄

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.

1 participant