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

Depthformer pre-trained checkpoint ? #52

Open
tcourat opened this issue Nov 23, 2023 · 1 comment
Open

Depthformer pre-trained checkpoint ? #52

tcourat opened this issue Nov 23, 2023 · 1 comment

Comments

@tcourat
Copy link

tcourat commented Nov 23, 2023

Hi,

Where can I access the DepthFormer pre-trained checkpoint ?
Also, is there a convenient way to use torchhub to load it like for the 3 other models (Define, Zerodepth and packnet) ? Having a little code snippet showing how to load DepthFormer and use it (expected input format) would help a lot. :)

Thanks

@AlanceLau
Copy link

zerodepth_model = torch.hub.load('/home/alance/.cache/torch/hub/TRI-ML_vidar_main', 'ZeroDepth', pretrained=True, source='local', path="/home/alance/.cache/torch/hub/checkpoints/ZeroDepth_unified.ckpt")

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