Instructions to use webnn/depth-anything-base-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use webnn/depth-anything-base-hf with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('depth-estimation', 'webnn/depth-anything-base-hf');
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Xenova/depth-anything-base-hf
|
| 3 |
+
library_name: transformers.js
|
| 4 |
+
pipeline_tag: depth-estimation
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
https://huggingface.co/Xenova/depth-anything-base-hf/
|
| 8 |
+
|
| 9 |
+
Changed data type of Pow X Y to float32 from float16 for fp16 model.
|
| 10 |
+
|