๐ In a Training Loop
youssef boulaouane
byoussef
ยท
AI & ML interests
None yet
Recent Activity
updated a Space about 17 hours ago
byoussef/DepthPro2-WebGPU repliedto their post 1 day ago
Depth Pro 2 now runs in the browser on WebGPU.
I converted Apple's Depth Pro 2 (sizes S and B, plus the field-of-view model) to LiteRT, so it runs on the GPU through LiteRT.js. In Chrome on an M1 MacBook Pro, S takes about 320 ms a frame at 480x854 and B about 800 ms, in float16.
Demo, with your own photos or the webcam (nothing leaves your machine): https://huggingface.co/spaces/byoussef/DepthPro2-WebGPU
Files, JS and Python usage, and the export script: https://huggingface.co/byoussef/DepthPro2-litert
Unofficial, and research use only under Apple's model license. Original model: https://huggingface.co/apple/DepthPro2 updated a model 1 day ago
byoussef/DepthPro2-litert