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.
cd ~/mycar
nano myconfig.pyDEFAULT_MODEL_TYPE = 'linear'cd mycar
donkey train --tub ./data/[data subdirectory] --model ./models/<model_name>.h5nano ~/mycar/myconfig.pyOPTIMIZER = 'adam' #adam, sgd, rmsprop, etc.. None accepts default
...
AUGMENTATIONS = ['BLUR'] # changes to image only applied in training to create
# # more variety in the data.
TRANSFORMATIONS = ['CROP'] # changes applied _before_ training augmentations,
# # such that augmentations are applied to the transformed image,Last updated