Views
No views yet
1@article{li2025da2,
2 title={DA2: Depth Anything in Any Direction},
3 author={Li, Haodong and Zheng, Wangguangdong and He, Jing and Liu, Yuhao and Lin, Xin and Yang, Xin and Chen, Ying-Cong and Guo, Chunchao},
4 journal={arXiv preprint arXiv:2509.26618},
5 year={2025}
6}1git clone <your-repo-url>
2cd DA-2-Web1python3 -m venv venv
2source venv/bin/activate # On Windows: venv\Scripts\activate
3pip install -r requirements.txtmodel.safetensors from the HuggingFace repository and place it in the root directory of this project.clamp with max/min).python export_onnx.pyda2_model.onnx..onnx file for easier web loading.python merge_onnx.pyda2_model_single.onnx.python3 -m http.server 8000http://localhost:8000/web/ in your WebGPU-compatible browser.SphereViT and ViT_w_Esphere modules were modified to ensure strict FP16 compatibility.torch.clamp operations were replaced with torch.max and torch.min combinations to avoid Clip operator issues in onnxruntime-web when handling mixed scalar/tensor inputs.