Error running command: colmap vocab_tree_matcher --database_path output/colmap/database.db --SiftMatching.use_gpu 1 --VocabTreeMatching.vocab_tree_path "/home/fiischo/.local/share/nerfstudio/vocab_tree.fbow"
Opened this issue ยท 1 comments
When I used the colmap installed in conda environment nerfstudio, the prompt produced Error informations.
However, as I firstly used the prompts, it worked successfully in the picture formats of *.png, but now, it failed.
Meanwhile, it only output directories including colmap, images, images_2, images_4 and images_8, and pictures were complete.
I tried to reinstall nerfstudio or colmap and delete the file of vocab_tree.fbow, but it still did not work.
$ ns-process-data images --data images/ --output-dir output/
[14:17:01] ๐ Done copying images with prefix 'frame_'. process_data_utils.py:348
[14:17:02] ๐ Done extracting COLMAP features. colmap_utils.py:137
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ๐ ๐ ๐ ERROR ๐ ๐ ๐ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Error running command: colmap vocab_tree_matcher --database_path output/colmap/database.db --SiftMatching.use_gpu 1
--VocabTreeMatching.vocab_tree_path "/home/fiischo/.local/share/nerfstudio/vocab_tree.fbow"
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
I20241111 14:17:02.364071 140577232384000 misc.cc:198]
Feature matching
I20241111 14:17:02.365036 140577223991296 sift.cc:1451] Creating SIFT GPU feature matcher
E20241111 14:17:02.365074 140577223991296 logging.h:125] Check failed: max_num_matches > 0 (0 vs. 0)
E20241111 14:17:02.365087 140577223991296 sift.cc:1221] Check failed: options_.Check()
terminate called after throwing an instance of 'std::invalid_argument'
what(): Check failed: options_.Check()
*** Aborted at 1731305822 (unix time) try "date -d @1731305822" if you are using GNU date ***
PC: @ 0x7fdb3582900b gsignal
*** SIGABRT (@0x3e8000035a0) received by PID 13728 (TID 0x7fdaaf7fe000) from PID 13728; stack trace: ***
@ 0x7fdb36c454df __pthread_once_slow
@ 0x7fdb36ccb917 google::(anonymous namespace)::FailureSignalHandler(int, siginfo*, void*)
@ 0x7fdb36c48420 (/usr/lib/x86_64-linux-gnu/libpthread-2.31.so+0x1441f)
@ 0x7fdb3582900b gsignal
@ 0x7fdb35808859 abort
@ 0x7fdb35bfdfae __gnu_cxx::__verbose_terminate_handler()
@ 0x7fdb35bfc4f2 __cxxabiv1::__terminate(void (*)())
@ 0x7fdb35bf62f3 std::terminate()
@ 0x7fdb35bfc712 __cxa_throw
@ 0x563c90aca5b8 colmap::LogMessageFatalThrowstd::invalid_argument::~LogMessageFatalThrow()
@ 0x563c9108c19c colmap::CreateSiftFeatureMatcher(colmap::SiftMatchingOptions const&)
@ 0x563c90b937a9 colmap::FeatureMatcherWorker::Run()
@ 0x563c90c30734 colmap::Thread::RunFunc()
@ 0x7fdb35c19b65 execute_native_thread_routine
@ 0x7fdb36c3c609 start_thread
@ 0x7fdb35905353 clone
Aborted (core dumped)
Could someone help me? Thanks a lot!
It seems that colmap vocab_tree_matcher cannot match any of the feature points. This may due to the lack of textures in your input images. You can try exhaustive matcher in colmap, or add more images.