Traceback (most recent call last):
File "/usr/local/bin/pyarmor_python", line 16, in
runpy.run_path(script_to_run, run_name="main")
File "/usr/lib/python3.10/runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "</auto-magic-calib/core/camera_estimation/multi_view_calib.py>", line 1, in
File "", line -1, in
File "", line 2477, in main
File "", line 2126, in two_view_calib
File "", line 1650, in calibrate_2_cams_robust
File "numpy/random/mtrand.pyx", line 1024, in numpy.random.mtrand.RandomState.choice
ValueError: Cannot take a larger sample than population when 'replace=False'
Error: Multi-view calibration failed
I am running the end-to-end calibration pipeline with 3 videos without groundtruth data .
Single-view calibration completes successfully, but the pipeline fails
during multi-view (two-camera) calibration.
bash launch_EndToEndCalib.sh
-v ~/macv/auto-magic-calib/assets/tmt-data
-o ~/macv/auto-magic-calib/assets/tmt-data/output