• sales

    +86-0755-88291180

DonkeyCar for Jetson Nano-Train Data

Guides of DonkeyCar

Train data

  • In a new terminal session on your host PC use rsync to copy your cars folder from the Jetson Nano.
rsync -rv --show-progress --partial pi@<your_ip_address>:~/mycar/data/  ~/mycar/data/

<your_ip_address> should be the IP address of your Jetson Nano

  • Train model
python ~/mycar/manage.py train --tub <tub folder names comma separated> --model ./models/mypilot.h5

You should change the <tub folder names comma separated> to the correct path, for example, ./data/* or ./data/tub_?_20-01-18

  • Use rsync again to move your trained model pilot back to your car.

</pre> rsync -rv --show-progress --partial ~/mycar/models/ pi@<your_ip_address>:~/mycar/models/ </pre>