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

conversion to bad driving #13

Closed
rafi-vivanti opened this issue Mar 12, 2018 · 3 comments
Closed

conversion to bad driving #13

rafi-vivanti opened this issue Mar 12, 2018 · 3 comments

Comments

@rafi-vivanti
Copy link

Hi. Great work! I'm really enjoying your simulator and cookbook.

In the train phase, although there are 500 epochs, mine converges after 27-39 epochs due to "no improvement".
Then in the test phase, the car do not keep track with the path and crashes very fast. Much less than the 5 minutes it should drive.
I did not change the code, except for the TQDM NotebookCallback I disabled.
Any ideas about what's going on?

Thanks!

@adshar
Copy link
Collaborator

adshar commented Mar 12, 2018

Thanks for the kind words!

How many times did this happen to you? Every time you kick off training weights are initialized differently, so maybe try running training again? Also, are you using the correct environment (landscape)? Lastly, you can change the earlyStopping callback to let the training go longer.

Please know that 500 is just an upper limit and you will likely converge much earlier. Also, you probably did already, but please make sure you run all the preprocessing steps before you kick off training.

@rafi-vivanti
Copy link
Author

Hi. Thanks for the prompt reply!

I tried 6 times. I'm using mountain-landscape environment. It is different than the gif you present here. It starts with a right turn which my car over-turn it and crashes to the trees on the right. Also, I do not see the bridges you wrote about.

I disabled the TQDMNotebookCallback since it crashes on:
"traitlets.traitlets.TraitError: The 'kernel' trait of a Comm instance must be a kernel... 'NoneType' was specified. Is it important for convergence?

@adshar
Copy link
Collaborator

adshar commented Mar 13, 2018

Oh I see what the problem is. You are using the wrong AirSim build. Looks like you downloaded it from the main AurSim repo. Please use the AirSim build we created for the cookbook. The download instructions are provided in the readme.

@adshar adshar closed this as completed Mar 15, 2018
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