Training the Model
Once your data is transferred to your training node, you are now ready to use Tensorflow to train a self-driving model.
Training the Model on the Chameleon Node:
By default, donkeycar uses the tflite_linear model to train, but we want to use the normal linear model. To change this, go into myconfig.py and change DEFAULT_MODEL_TYPE to linear.
The line with DEFAULT_MODEL_TYPE should look like this:
Utilizing all of the gathered data, train a model
Note: be sure to include the .h5 at the end of the model filename
Optional Training Changes
It is possible to make edits to how the model trains through augmentations and transformations
Some options to play around with include:
You can search for words, like "OPTIMIZER", using ^W.
Note: It is very important that the myconfig.py files match between the cars and the Chameleon node, if one thing changes, the other must be changed as well. The following command can be used to sync the files just in case:
Last updated