lpiccinelli-eth / UniDepth

Universal Monocular Metric Depth Estimation
Other
462 stars 39 forks source link

Simplify things #14

Closed NielsRogge closed 2 months ago

NielsRogge commented 2 months ago

This PR simplifies things by removing the UniDepthV1HF class, and instead just leverages the UniDepth class.

The hubconf.py file is still there for people that want to use it, but since that script itself uses hf_hub_download, it's quite straightforward to load one of the following models:

This notebook confirms that inference is still working fine.

lpiccinelli-eth commented 2 months ago

LGTM! You can add the acknowledgment to you :smile: or I can do it in the next README update :wink:

NielsRogge commented 2 months ago

Haha feel free to do that yourself! 🤗