Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 'shifting' when training a model #1143

Open
Ezward opened this issue Aug 28, 2023 · 0 comments
Open

Support 'shifting' when training a model #1143

Ezward opened this issue Aug 28, 2023 · 0 comments
Assignees

Comments

@Ezward
Copy link
Contributor

Ezward commented Aug 28, 2023

As many people already mentioned, training on the previous image, or the next angle/throttle, i.e. shifting the y in (x,y) forward by one index, gives a better and forward looking behavior which looks like having more "planning" and less "observe and react if you can". Given that the inference time makes up the largest part of a single vehicle loop, it does make sense to use the shift. It is easy to implement, because we support the sequence models which grab a continuous list of (x, y), so we can adjust this to grab a set of two consecutive data and use image from the first and steering, throttle from the second entry.

Shifting my a factor of 4 helps for online races anecdotally (compensating for frame lag)
Shifting in general improves fit quite substantially so it's definitely worth adding and you probably want it configurable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants