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

Take forever to run ZeroDepth model #44

Open
bestsunlin opened this issue Aug 9, 2023 · 3 comments
Open

Take forever to run ZeroDepth model #44

bestsunlin opened this issue Aug 9, 2023 · 3 comments

Comments

@bestsunlin
Copy link

When I run your ZeroDepth model, it took very long (seems forever) to run one example with the resolution 768x1024. When I changed the resolution to 256x256, it also takes about 5 mins. Is it because of the model complexity or others?

@VitorGuizilini-TRI
Copy link
Collaborator

Hi, thank you for taking the time to try out our model!
Can you share a code snippet showing how you are running ZeroDepth? What sort of GPU are you using?

@northagain
Copy link

with torch.no_grad():

@synsin0
Copy link

synsin0 commented Jan 29, 2024

I use the ZeroDepth on nuScenes images 900x1600 with batch_size=1 and use a single A6000. It takes 5-6 second for one image. It takes more times on decoder than encoder. I see that the image encoder use a lightweight R18. So what causes the low running speed?

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

4 participants