2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Donkey Carの作り方(Windows側)

Last updated at Posted at 2018-12-05

関連Qiita

必要なソフト

  • Anaconda
  • git

注意事項

PowerShellではうまくいきません。
Anaconda Consoleを実行し、実施してください。

作業フォルダの作成

$ mkdir ~/Documents/workspace_donkey
$ cd ~/Documents/workspace_donkey

DonkeyをClone

$ git clone https://github.com/autorope/donkeycar/
$ cd donkey
$ git checkout master

Condaで環境設定

$ conda env create -f install/envs/mac.yml
$ source activate donkey

conda入っていない人は、
https://conda.io/miniconda.html
よりインストール

TensorFlowのインストール

$ pip install tensorflow==1.8.0

プロジェクトの作成

$ pip install -e .
$ donkey createcar ~/mycar

manage.pyの修正

$ cd ~/mycar
$ vim manager.py

188行目

#from controller import LocalWebController, JoystickController

Keras.pyの修正。場所は、環境に合わせてフォルダの場所を変える

$ vim /Users/akira/Documents/workspace_donkey/donkey/donkeycar/parts/keras.py

keras.py

from keras.layers import Input
from keras.models import Model, load_model
from keras.layers import Convolution2D
from keras.layers import Dropout, Flatten, Dense
from keras.callbacks import ModelCheckpoint, EarlyStopping

環境

donkeycar              2.5.1
Keras                  2.2.2       
Keras-Applications     1.0.4       
Keras-Preprocessing    1.0.2  
tensorboard            1.8.0       
tensorflow             1.8.0       
tensorflow-tensorboard 0.1.8     
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?