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