fabio-sim / Depth-Anything-ONNX

ONNX-compatible Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data
Apache License 2.0
234 stars 23 forks source link

fix: export model with OnnxSlim properly #11

Closed cverrier closed 2 months ago

cverrier commented 2 months ago

Description

Trying to export a model to OnnxSlim was failing due to an incorrect argument format in the subprocess.run command. Hence, format the argument properly.

The onnxruntime Python dependency does not provide GPU support for macOS. Therefore, create a Python 3.11 dependency file specific to macOS.

Fixes #10

fabio-sim commented 2 months ago

Hi @cverrier, thank you very much for the PR. I appreciate it.