apple / ml-depth-pro

Depth Pro: Sharp Monocular Metric Depth in Less Than a Second.
Other
3.76k stars 253 forks source link

Onnx model? #20

Open ofirkris opened 1 month ago

ofirkris commented 1 month ago

Can we have an onnx version?

alpha3d-bin commented 1 month ago

Can we have an onnx version?

0uterspaceguy commented 1 month ago

Can we have an onnx version?

ofirkris commented 1 month ago

Onnx Models can be found here - https://huggingface.co/onnx-community/DepthPro-ONNX/tree/main/onnx

alpha3d-bin commented 1 month ago

thank you,good job!

---- Replied Message ---- | From | @.> | | Date | 10/11/2024 19:12 | | To | apple/ml-depth-pro @.> | | Cc | alpha3d-bin @.>, Comment @.> | | Subject | Re: [apple/ml-depth-pro] Onnx model? (Issue #20) |

Onnx Models can be found here - https://huggingface.co/onnx-community/DepthPro-ONNX/tree/main/onnx

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Orion-sky commented 1 month ago

Onnx Models can be found here - https://huggingface.co/onnx-community/DepthPro-ONNX/tree/main/onnx

Hello, I would like to ask how you convert the pt model into the onnx model. Can you please make the code public?

alpha3d-bin commented 1 month ago

I use the OpenVino inference model. Model_fp16.onx can succeed, but the file size is large and the inference time is long. model_q4f16.onnx failed to load! Is the quantified model suitable for openvino? thank you!

sctrueew commented 1 week ago

Hi, could you please share the infer script for onnx model?