DABA

所属分类:其他
开发工具:Cuda
文件大小:0KB
下载次数:0
上传日期:2023-07-28 17:28:38
上 传 者sh-1993
说明:  正式实施“去中心化和加速实现大规模捆绑调整”,
(Official implementation of "Decentralization and Acceleration Enables Large- Scale Bundle Adjustment",)

文件列表:
CMakeLists.txt (2566, 2023-07-28)
CODEOFCONDUCT.md (3535, 2023-07-28)
CONTRIBUTING.md (1243, 2023-07-28)
LICENSE (1088, 2023-07-28)
cmake/ (0, 2023-07-28)
cmake/FindGlog.cmake (17673, 2023-07-28)
cmake/FindNCCL.cmake (3650, 2023-07-28)
doc/ (0, 2023-07-28)
doc/figure.png (5237587, 2023-07-28)
examples/ (0, 2023-07-28)
examples/CMakeLists.txt (982, 2023-07-28)
examples/admm/ (0, 2023-07-28)
examples/admm/CMakeLists.txt (106, 2023-07-28)
examples/admm/admm_problem.cu (100454, 2023-07-28)
examples/admm/admm_problem.h (14056, 2023-07-28)
examples/ceres/ (0, 2023-07-28)
examples/ceres/camera.h (2306, 2023-07-28)
examples/ceres/math.h (12374, 2023-07-28)
examples/ceres/reprojection.h (4090, 2023-07-28)
examples/ceres/types.h (701, 2023-07-28)
examples/ceres_bal_dataset.cpp (4974, 2023-07-28)
examples/douglas_rachford/ (0, 2023-07-28)
examples/douglas_rachford/CMakeLists.txt (152, 2023-07-28)
examples/douglas_rachford/douglas_rachford_problem.cu (82102, 2023-07-28)
examples/douglas_rachford/douglas_rachford_problem.h (12477, 2023-07-28)
examples/mem_comm_bal_dataset.cu (7499, 2023-07-28)
examples/mpi_admm_bal_dataset.cu (12865, 2023-07-28)
examples/mpi_daba_bal_dataset.cu (18441, 2023-07-28)
examples/mpi_dr_bal_dataset.cu (12516, 2023-07-28)
sfm/ (0, 2023-07-28)
sfm/CMakeLists.txt (929, 2023-07-28)
sfm/ba/ (0, 2023-07-28)
sfm/ba/clustering/ (0, 2023-07-28)
sfm/ba/clustering/clustering.cu (26985, 2023-07-28)
sfm/ba/clustering/clustering.cuh (1073, 2023-07-28)
sfm/ba/clustering/common_methods.cu (117373, 2023-07-28)
sfm/ba/clustering/common_methods.cuh (12018, 2023-07-28)
sfm/ba/clustering/merger.cu (9856, 2023-07-28)
... ...

DABA: Decentralized and Accelerated Large-Scale Bundle Adjustment

Official implementation of Decentralization and Acceleration Enables Large-Scale Bundle Adjustment. Taosha Fan, Joseph Ortiz, Ming Hsiao, Maurizio Monge, Jing Dong, Todd Murphey, Mustafa Mukadam. In Robotics Science and Systems (RSS), 2023.

drawing

In this work, we present Decentralized and Accelerated Bundle Adjustment (DABA), a method that addresses the compute and communication bottleneck for bundle adjustment problems of arbitrary scale. Despite limited peer-to-peer communication, DABA achieves provable convergence to first-order critical points under mild conditions. Through extensive benchmarking with public datasets, we have shown that DABA converges much faster than comparable decentralized baselines, with similar memory usage and communication load. Compared to centralized baselines using a single device, DABA, while being decentralized, yields more accurate solutions with significant speedups of up to 953.7x over Ceres and 174.6x over DeepLM.

----- ## Dependencies 1. [Eigen >= 3.4.0](https://eigen.tuxfamily.org/index.php?title=Main_Page) 2. [CUDA >= 11.4](https://developer.nvidia.com/cuda-toolkit) 3. [CMake >= 3.18](https://cmake.org) 4. [OpenMPI](https://www.open-mpi.org) 5. [NCCL](https://developer.nvidia.com/nccl) 6. [CUB >= 11.4](https://nvlabs.github.io/cub/) 7. [Thrust >= 2.0](https://thrust.github.io) 8. [Glog](https://github.com/google/glog) 9. [Boost >= 1.60](https://www.boost.org) 10. [Ceres >= 2.0 (optional)](http://ceres-solver.org) ## Quickstart #### Download [BAL Dataset](https://grail.cs.washington.edu/projects/bal/) ```bash wget https://grail.cs.washington.edu/projects/bal/data/ladybug/problem-1723-156502-pre.txt.bz2 bzip2 -dk problem-1723-156502-pre.txt.bz2 ``` #### Compile ```bash git clone https://github.com/facebookresearch/DABA.git cd DABA mkdir release cd release cmake -DCMAKE_BUILD_TYPE=Release .. make -j16 ``` #### Run ```bash mpiexec -n NUM_DEVICES ./bin/mpi_daba_bal_dataset --dataset /path/to/your/dataset --iters 1000 --loss "trivial" --accelerated true --save true ``` ## Citation If you find this work useful for your research, please cite our paper: ``` @article{fan2023daba, title={Decentralization and Acceleration Enables Large-Scale Bundle Adjustment}, author={Fan, Taosha and Ortiz, Joseph and Hsiao, Ming and Monge, Maurizio and Dong, Jing and Murphey, Todd and Mukadam, Mustafa}, journal={arXiv:2305.07026}, year={2023}, } ``` ## License The majority of this project is licensed under [MIT License](./LICENSE). However, a [portion of the code](sfm/graph/) is available under the [Apache 2.0](https://github.com/apache/.github/blob/main/LICENSE) license.

近期下载者

相关文件


收藏者