Help us understand the problem. What is going on with this article?

Donkey Car学習(Mac側)

More than 1 year has passed since last update.

関連Qiita

教師データの作成(RaspberryPi側)

$ cd ~/mycar
$ python manage.py drive

controller.png

トレーニングデータは、~/mycar/data以下に保存される。

教師データの学習(Mac側)

教師データをRaspberryPiから、Macにrsyncする。

$ rsync -r pi@192.168.86.41:~/mycar/data/ ~/mycar/data/
$  ls data
tub_01_18-08-27 tub_02_18-08-27

Mac側には、tub_日付のフォルダが教師データ作成の度にふえていく。

$ donkey tubclean .

いらないデータを削除する。

$ python ~/mycar/manage.py train --tub=~/mycar/data/tub_01_18-08-27 --model=./models/mypilot

これで学習開始。

学習済みモデルをRaspberryPiに戻す

$ rsync -r ~/mycar/models/ pi@<your_ip_address>:~/mycar/models/

学習済みモデルでDonkeyを動かす

RaspberryPi側にログイン。

$ python manage.py drive --model ~/mycar/models/mypilot

or

Web画面のmodel & pilotから、autopilotを選ぶ。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした