Skip to content

An error occurred when running test_inference.py #59

@yaoyannan1111

Description

@yaoyannan1111

When I run test_inference.py, I encounter the following error. It was running correctly a month ago. Has there been any modification to the model or dataset?
The error message is as follows:
(ar1_venv) catarcedu@catarcedu-MS-7E06:~/alpamayo$ python3 src/alpamayo_r1/test_inference.py
Loading dataset for clip_id: 030c760c-ae38-49aa-9ad8-f5650a545d26...
Traceback (most recent call last):
File "/home/catarcedu/alpamayo/src/alpamayo_r1/test_inference.py", line 31, in
data = load_physical_aiavdataset(clip_id, t0_us=5_100_000)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/catarcedu/alpamayo/src/alpamayo_r1/load_physical_aiavdataset.py", line 71, in load_physical_aiavdataset
avdi = physical_ai_av.PhysicalAIAVDatasetInterface()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/catarcedu/alpamayo/ar1_venv/lib/python3.12/site-packages/physical_ai_av/dataset.py", line 72, in init
self.download_file("metadata/sensor_presence.parquet")
File "/home/catarcedu/alpamayo/ar1_venv/lib/python3.12/site-packages/physical_ai_av/utils/hf_interface.py", line 231, in download_file
self.api.get_paths_info(paths=[filename], **self.repo_snapshot_info)[0].size
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

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