yan99033 / MiDaS-cpp

PyTorch C++ implementation for single-image relative depth estimation (MiDaS)
MIT License
39 stars 15 forks source link

MiDaS 2.1 #5

Open 3dsf opened 3 years ago

3dsf commented 3 years ago

Just to confirm, this is compatible with MiDaS <= 2.1

https://github.com/intel-isl/MiDaS/releases/tag/v2_1

yan99033 commented 3 years ago

You are right. To use MiDaS 3.0, you just have to go to python/export_model.py and import the DPTDepthModel class to convert the pre-trained model to a torchscript model.

hhxxzxy commented 1 year ago

Could you please teach me the detailed steps?thank you