Instructions to use onnx-community/DepthPro-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/DepthPro-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('depth-estimation', 'onnx-community/DepthPro-ONNX');
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: apple-ascl
|
|
| 3 |
base_model:
|
| 4 |
- apple/DepthPro
|
| 5 |
library_name: transformers.js
|
|
|
|
| 6 |
---
|
| 7 |
|
| 8 |
https://huggingface.co/apple/DepthPro with ONNX weights to be compatible with Transformers.js.
|
|
|
|
| 3 |
base_model:
|
| 4 |
- apple/DepthPro
|
| 5 |
library_name: transformers.js
|
| 6 |
+
pipeline_tag: depth-estimation
|
| 7 |
---
|
| 8 |
|
| 9 |
https://huggingface.co/apple/DepthPro with ONNX weights to be compatible with Transformers.js.
|