Skip to content

Error when trying to collect data #7

@ShalamovRoman

Description

@ShalamovRoman

Hi! I'm trying to collect data using CARLA 0.8.4 and tutorial from readme, but collector raises exception.

Here are my logs

Traceback (most recent call last):
File "collect.py", line 483, in <module>
main()
File "collect.py", line 472, in main
collect(client, args)
File "collect.py", line 231, in collect
settings_module, args.debug)
File "collect.py", line 171, in reset_episode
player_target_transform, planner)
File "collect.py", line 141, in calculate_timeout
end_point.orientation.x, end_point.orientation.y, end_point.orientation.z])
File "/home/sergey/Projects/data-collector/carla/planner/planner.py", line 113, in get_shortest_path_distance
track_target, target_ori)
File "/home/sergey/Projects/data-collector/carla/planner/city_track.py", line 99, in compute_route
np.set_printoptions(edgeitems=3, infstr='inf', threshold=np.nan, linewidth=129)
File "/usr/lib/python3.7/site-packages/numpy/core/arrayprint.py", line 246, in set_printoptions
floatmode, legacy)
File "/usr/lib/python3.7/site-packages/numpy/core/arrayprint.py", line 93, in _make_options_dict
raise ValueError("threshold must be numeric and non-NAN, try "
ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation

Can somebody explain what parameter I should specify instead of "threshold"?

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