Skip to content

[BUG] Error while concatenating results: "No objects to concatenate" while runng Example_1_All_configurations.py #33

@alexk-git

Description

@alexk-git

Summary

While running the script Example_1_All_configurations.py, an error occurred: "No objects to concatenate". The script failed because the list df_list remained empty.

Steps to Reproduce

  1. Downloaded the latest project version from git.
  2. Installed dependencies tsururu, tqdm, torch, torchvision.
  3. Ran the script with the command: $ python Example_1_All_configurations.py

Expected Behavior

The script should complete successfully, creating final tables with results.

Actual Behavior

The following error occurred:

100%|███████████████████████████████████████████████████████████████████████████████████████████| 27648/27648 [02:37<00:00, 175.40it/s]
Traceback (most recent call last):
  File "/home/alex/repos/tsururu/examples/Example_1_All_configurations.py", line 528, in <module>
    main()
  File "/home/alex/repos/tsururu/examples/Example_1_All_configurations.py", line 521, in main
    df = pd.concat(df_list)
         ^^^^^^^^^^^^^^^^^^
  File "/mnt/data_disk/miniforge3/envs/for_tsururu_311/lib/python3.11/site-packages/pandas/core/reshape/concat.py", line 382, in concat
    op = _Concatenator(
         ^^^^^^^^^^^^^^
  File "/mnt/data_disk/miniforge3/envs/for_tsururu_311/lib/python3.11/site-packages/pandas/core/reshape/concat.py", line 445, in __init__
    objs, keys = self._clean_keys_and_objs(objs, keys)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/data_disk/miniforge3/envs/for_tsururu_311/lib/python3.11/site-packages/pandas/core/reshape/concat.py", line 507, in _clean_keys_and_objs
    raise ValueError("No objects to concatenate")
ValueError: No objects to concatenate

Environment

  • OS:
    Ubuntu 24.04.3 LTS

  • Python version: 3.11.14

  • Dependencies:
    tsururu==1.1.0
    torch==2.9.1+cpu
    torchvision==0.24.1+cpu

Additional Information

Attempted to verify the presence of NaN values in the data, but the problem remains unsolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions