Motorists are not required to yield to pedestrians if they are walking against the traffic light.
You must always yield the right-of-way to pedestrians. Be aware of the possibility that pedestrians may misjudge traffic signals and cross against a light.