unity 的 自动驾驶 模拟器

https://github.com/udacity/self-driving-car-sim

教程:https://www.leiphone.com/news/201706/RuoKaDSTmd1dClUV.html

运行训练好的模型。详细请看 github

 

sudo pip3 install python-socketio
sudo pip3 install eventlet
sudo pip3 install flask
sudo pip3 install Keras==2.0.3
sudo pip3 install h5py
python3 drive.py model.h5

下载 对应系统的 模拟器

https://d17h27t6h515a5.cloudfront.net/topher/2017/February/58983385_beta-simulator-mac/beta-simulator-mac.zip

https://d17h27t6h515a5.cloudfront.net/topher/2017/February/58983558_beta-simulator-linux/beta-simulator-linux.zip

https://d17h27t6h515a5.cloudfront.net/topher/2017/February/58983318_beta-simulator-windows/beta-simulator-windows.zip

自带的 模型不好用,会报错。自己训练之。。。开车保存数据见教程。

请不要更改IMG 目录位置,会找不到文件。

训练30轮之后,大概是这个效果

python3 drive.py model_best.h5

How we built the first real self-driving car

https://medium.com/@kyle.vogt

发表评论

电子邮件地址不会被公开。

This site uses Akismet to reduce spam. Learn how your comment data is processed.