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');
File size: 274 Bytes
8e064cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | {
"do_normalize": true,
"do_rescale": true,
"do_resize": false,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "ViTFeatureExtractor",
"image_std": [
0.5,
0.5,
0.5
],
"resample": 2,
"rescale_factor": 0.00392156862745098
} |