OmerZo / Self-Driving-Car

0 stars 1 forks source link

Incorrect loss function calculation #14

Closed OmerZo closed 6 months ago

OmerZo commented 6 months ago

While checking pull request #13, encountered an error in the calculation of the loss function, in the part that checks the condition of the sensors and how far they are from the borders. https://github.com/OmerZo/Self-Driving-Car/blob/66bfea24b839b5c3be654a3f9eda2aa9e7a67a6f/main.js#L151

Far from the borders: Score 264 image

Closer to the borders: Score 364 (Higher) image