git clone -b main [email protected]:open-mmlab/mmdeploy.git --recursive
Note:
-
If fetching submodule fails, you could get submodule manually by following instructions:
cd mmdeploy git clone [email protected]:NVIDIA/cub.git third_party/cub cd third_party/cub git checkout c3cceac115 # go back to third_party directory and git clone pybind11 cd .. git clone [email protected]:pybind/pybind11.git pybind11 cd pybind11 git checkout 70a58c5 cd .. git clone [email protected]:gabime/spdlog.git spdlog cd spdlog git checkout 9e8e52c048
-
If it fails when
git clone
viaSSH
, you can try theHTTPS
protocol like this:git clone -b main https://github.com/open-mmlab/mmdeploy.git --recursive
Please visit the following links to find out how to build MMDeploy according to the target platform.