isl-org / MiDaS

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"
MIT License
4.55k stars 635 forks source link

An error occurred when I tried to run the make_onnx_model.py to convert MiDas 3.1 to onnx #242

Open QZZZZZYF opened 1 year ago

QZZZZZYF commented 1 year ago

RuntimeError: Error(s) in loading state_dict for MidasNet_preprocessing:

VladMVLX commented 1 year ago

same here, any idea how to fix it?