-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hloc, using
-e
option in pip install
- Loading branch information
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -138,7 +138,8 @@ RUN rm -rfv /tmp/* | |
FROM pyceres as lamar | ||
|
||
# Install hloc. | ||
RUN python3 -m pip install git+https://github.com/cvg/[email protected] | ||
COPY scripts/install_hloc.sh /tmp/ | ||
RUN bash /tmp/install_hloc.sh | ||
|
||
# Note: The dependencies listed in pyproject.toml also include pyceres, already | ||
# installed in previous Docker stages. Attempting to compile it in this stage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
root_folder=$(realpath $(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/..) | ||
source ${root_folder}/scripts/load_env.sh | ||
|
||
|
@@ -14,7 +16,7 @@ sudo ${root_folder}/scripts/install_ceres_solver.sh | |
sudo ${root_folder}/scripts/install_colmap.sh | ||
|
||
# HLoc. | ||
python3 -m pip install git+https://github.com/cvg/[email protected] | ||
${root_folder}/scripts/install_hloc.sh | ||
|
||
# Pyceres. | ||
python3 -m pip install git+https://github.com/cvg/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
root_folder=$(realpath $(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/..) | ||
source ${root_folder}/scripts/load_env.sh | ||
|
||
git clone --recursive -b v1.4 https://github.com/cvg/Hierarchical-Localization/ hloc --depth=1 | ||
cd hloc | ||
python -m pip install -e . |