Skip to content

Vision Encoder training traffic light state and stop sign state #137

Description

@ni-eminen

Hi!

I'm a bit confused about your way to get a target for the traffic light state. It seems you are using this clause:

    if len(measurements['is_red_light_present']) > 0:
        traffic_light_state = 0
    else:
        traffic_light_state = 1

but if multiple red lights are present, where the red lights don't concern the ego vehicle, won't this cause the target value to be wrong? I could imagine a scenario where there are three independent red lights in an intersection, and one of them will always be red. So then a red light is always present.

Am I interpreting the code wrong?

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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