colmap / colmap

COLMAP - Structure-from-Motion and Multi-View Stereo
https://colmap.github.io/
Other
7.69k stars 1.52k forks source link

"database disk image is malformed" error when running vocab_tree_matcher #681

Open CanCanZeng opened 5 years ago

CanCanZeng commented 5 years ago

Describe the bug The error is only one line: SQLite error [c:\users\joschonb\development\colmap\src\base\database.cc, line 1209]: database disk image is malformed My environment is windows 10 and I use the binary release 3.6-dev2 : COLMAP_dev_windows. My dataset contains 3172 images, and when I run vocab_tree_matcher after sequential_matcher, the above error appears. Both command line and GUI operation can reproduce this error.

To Reproduce Steps to reproduce the behavior:

  1. feature extraction with default parameters
  2. do sequential_matcher with overlap=30
  3. do vocab_tree_matcher with SiftMatching.min_num_inliers=30
  4. see error Both command line and GUI operation can reproduce this error.

below is my command line instructions: 1 ./COLMAP.bat feature_extractor --database_path $database_path/database.db --image_path $image_path 2 .\COLMAP.bat sequential_matcher --database_path $database_path/database.db --SequentialMatching.overlap 30 --SequentialMatching.quadratic_overlap 0 --SiftMatching.min_num_inliers 20 3 .\COLMAP.bat vocab_tree_matcher --database_path $database_path/database.db --SiftMatching.min_num_inliers 30 --VocabTreeMatching.vocab_tree_path $voc_path

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

CanCanZeng commented 5 years ago

The problem is the same as #527 , it's said that it has been solved, but I still meet it.