Skip to content

errors when run scripts/create_synthetic_amass_data.py #3

@LittlePotatoChip

Description

@LittlePotatoChip

I have downloaded the trainning data,which is setted and extracted at /interact/data/amass/.

`
(interact) potato@potato-MS-7E13:~/workplace/interact$ python scripts/create_synthetic_amass_data.py
IN SPLIT = train
Error executing job with overrides: []
Traceback (most recent call last):
File "scripts/create_synthetic_amass_data.py", line 92, in process_data
max_length = np.max(np.array(lengths))
File "<array_function internals>", line 200, in amax
File "/home/potato/miniforge3/envs/interact/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2820, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "/home/potato/miniforge3/envs/interact/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

`

I printed the lengths with the output: []

Could it be that the data I prepared was not placed in the correct location?

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