Skip to content

Can't run EndToEndCalib on the sample data #1

@cgrtrifork

Description

@cgrtrifork

I have run the setup successfully.

Then I unzipped the sample data, and from the scripts folder ran the following command:

bash launch_EndToEndCalib.sh -v "${PWD}/../assets/sdg_08_2_sample_data_091025" -o "${PWD}/../assets/sdg_08_2_sample_data_091025/output" -g "${PWD}/../assets/sdg_08_2_sample_data_091025" -l "${PWD}/../assets/sdg_08_2_sample_data_091025/manual_adjustment/layout.png"

I'm seeing the following issues:

  • Step 3: A lot of these messages appear in the logs
...
./kittiDetect2mot_4_viz.sh: line 88: printf: 0.967551: invalid number
...
  • Step 4:
Executing: docker exec calib_2025-10-22_11-59-17 pyarmor_python "/auto-magic-calib/core/camera_estimation/box_sampling.py" -c /auto-magic-calib/configs/config_AutoMagicCalib/preprocess_config.yaml -i /auto-magic-calib/output//Det-bboxes.log -b /auto-magic-calib/output//rectified.jpg -o /auto-magic-calib/output/
Traceback (most recent call last):
  File "/usr/local/bin/pyarmor_python", line 16, in <module>
    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/box_sampling.py>", line 1, in <module>
  File "<frozen camera_estimation.box_sampling>", line -1, in <module>
  File "<frozen camera_estimation.box_sampling>", line 267, in main
  File "<frozen utils.file_io>", line 68, in read_bboxes
  File "<frozen utils.file_io>", line -1, in <listcomp>
ZeroDivisionError: division by zero
Error: Bounding box sampling failed
Cleaning up containers...
Containers stopped successfully

I am attaching the full log as well for reference.

log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions