cvg / Hierarchical-Localization

Visual localization made easy with hloc
Apache License 2.0
3.23k stars 599 forks source link

F20240717 00:22:15.895320 42837 incremental_mapper.cc:345] Check failed: reconstruction_->NumRegImages() >= 2 (1 vs. 2) #406

Open 20181313zhang opened 4 months ago

20181313zhang commented 4 months ago

I20240717 00:22:15.895290 42837 incremental_mapper.cc:495] => Image sees 421 / 2914 points F20240717 00:22:15.895320 42837 incrementalmapper.cc:345] Check failed: reconstruction->NumRegImages() >= 2 (1 vs. 2) Check failure stack trace: @ 0x7fe383647b2f (unknown) @ 0x7fe383644212 (unknown) @ 0x7fe383648499 (unknown) @ 0x7fe383795997 colmap::IncrementalMapper::RegisterNextImage() @ 0x7fe383710e3e colmap::IncrementalMapperController::Reconstruct() @ 0x7fe383712c65 colmap::IncrementalMapperController::Run() @ 0x7fe3842fc4ad colmap::Thread::RunFunc() @ 0x7fe3846fcdc0 (unknown) @ 0x7fe3cfd306db start_thread @ 0x7fe3cfa5971f clone @ (nil) (unknown) [NbConvertApp] ERROR | Kernel died while waiting for execute reply. Traceback (most recent call last): File "/root/miniconda3/lib/python3.8/site-packages/nbclient/client.py", line 846, in async_execute_cell exec_reply = await self.task_poll_for_reply asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/miniconda3/bin/jupyter-nbconvert", line 8, in sys.exit(main()) File "/root/miniconda3/lib/python3.8/site-packages/jupyter_core/application.py", line 264, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, kwargs) File "/root/miniconda3/lib/python3.8/site-packages/traitlets/config/application.py", line 846, in launch_instance app.start() File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 346, in start self.convert_notebooks() File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 518, in convert_notebooks self.convert_single_notebook(notebook_filename) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 483, in convert_single_notebook output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/nbconvertapp.py", line 412, in export_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 181, in from_filename return self.from_file(f, resources=resources, kw) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 199, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, kw) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/exporters/notebook.py", line 32, in from_notebook_node nb_copy, resources = super().from_notebook_node(nb, resources, kw) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 143, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 318, in _preprocess nbc, resc = preprocessor(nbc, resc) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/preprocessors/base.py", line 47, in call return self.preprocess(nb, resources) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 84, in preprocess self.preprocess_cell(cell, resources, index) File "/root/miniconda3/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 105, in preprocess_cell cell = self.execute_cell(cell, index, store_history=True) File "/root/miniconda3/lib/python3.8/site-packages/nbclient/util.py", line 78, in wrapped return just_run(coro(*args, **kwargs)) File "/root/miniconda3/lib/python3.8/site-packages/nbclient/util.py", line 57, in just_run return loop.run_until_complete(coro) File "/root/miniconda3/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/root/miniconda3/lib/python3.8/site-packages/nbclient/client.py", line 850, in async_execute_cell raise DeadKernelError("Kernel died") nbclient.exceptions.DeadKernelError: Kernel died

The log has shown before, I think there is a strange question. when I use all pictures, the question will happen. If I use part of pictures, the reconstruct will success.