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');
https://huggingface.co/Xenova/depth-anything-base-hf/
Changed data type of Pow X Y to float32 from float16 for fp16 model.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for webnn/depth-anything-base-hf
Base model
LiheYoung/depth-anything-base-hf Quantized
Xenova/depth-anything-base-hf