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.25k stars 597 forks source link

issue converting model dpt_beit_large_512 to onnx #243

Open zhengstake opened 9 months ago

zhengstake commented 9 months ago

Issue converting the pytorch model to onnx with the attached script

image pt_to_onnx.py.gz

ThreeDeeJay commented 8 months ago

Like I mentioned in https://github.com/isl-org/MiDaS/issues/218#issuecomment-1761541243, there's this: https://github.com/parkchamchi/MiDaS/releases/download/23.02.18/dpt_beit_large_512.onnx