Open 3dsf opened 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.
Could you please teach me the detailed steps?thank you
Just to confirm, this is compatible with MiDaS <= 2.1
https://github.com/intel-isl/MiDaS/releases/tag/v2_1