Skip to content

Issue Load_dataset #1

@d29122019

Description

@d29122019

in function load_data in run_All_Test.py, I cannot load the dataset:
The dataset xxxxx.csv in formatted in this way [TIMESTAMP,TRACK_ID,OBJECT_TYPE,X,Y,CITY_NAME] , but the code use some index like polyline_ID = 8 that are out of bounds. When I run python3 run_All_Test.py I got this error:
Traceback (most recent call last):
File "run_All_Test.py", line 149, in
test = load_data(root_dir, TEST_FILE[it:maxJ])
File "run_All_Test.py", line 42, in load_data
ans[i, polyline_ID] != ans[i + 1, polyline_ID]:
IndexError: index 8 is out of bounds for axis 1 with size 6

How can I fix this?, maybe I made a mistake about the root path ?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions