Coder Social home page Coder Social logo

Comments (3)

jchen706 avatar jchen706 commented on August 22, 2024
DATASET_PATH=$1
num_images_ub=$2
log_folder=$3
# completeness_ratio=$4
#VOC_TREE_PATH=$5
# image_overlap=$3
# max_num_cluster_pairs=$4


/home/j/GraphSfM/build/src/exe/colmap feature_extractor \
--database_path=$DATASET_PATH/database.db \
--image_path=$DATASET_PATH/images \
--SiftExtraction.num_threads=8 \
--SiftExtraction.use_gpu=0 \
--SiftExtraction.gpu_index=-1

/home/j/GraphSfM/build/src/exe/colmap exhaustive_matcher \
--database_path=$DATASET_PATH/database.db \
--SiftMatching.num_threads=8 \
--SiftMatching.use_gpu=0 \
--SiftMatching.gpu_index=-1
## Or use vocabulary tree matcher
# /home/amax/Projects/colmap/build/src/exe/colmap vocab_tree_matcher \
# --database_path=$DATASET_PATH/database.db \
# --SiftMatching.num_threads=8 \
# --SiftMatching.use_gpu=1 \
# --SiftMatching.gpu_index=0 \
# --VocabTreeMatching.num_images=100 \
# --VocabTreeMatching.num_nearest_neighbors=5 \
# --VocabTreeMatching.vocab_tree_path=$VOC_TREE_PATH

/home/j/GraphSfM/build/src/exe/colmap distributed_mapper \
$DATASET_PATH/$log_folder \
--database_path=$DATASET_PATH/database.db \
--transfer_images_to_server=0 \
--image_path=$DATASET_PATH/images \
--output_path=$DATASET_PATH/$log_folder \
--num_workers=8 \
--distributed=0 \
--repartition=0 \
--assign_cluster_id=1 \
--write_binary=1 \
--retriangulate=0 \
--final_ba=0 \
--select_tracks_for_bundle_adjustment=1 \
--long_track_length_threshold=10 \
--graph_dir=$DATASET_PATH/$log_folder \
--num_images_ub=$num_images_ub \
--completeness_ratio=0.7 \
--relax_ratio=1.3 \
--cluster_type=NCUT # SPECTRA
# --image_overlap=$image_overlap \

**This is the distributed_sfm.sh file that I ran. **

from dagsfm.

AIBluefisher avatar AIBluefisher commented on August 22, 2024

just remove the —graph-dir option in the script. There is a time I haven’t updated this script.

from dagsfm.

jchen706 avatar jchen706 commented on August 22, 2024

yeah alright

from dagsfm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.