Giter Site home page Giter Site logo

allensmile / selfdrive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from littlemountainman/selfdrive

0.0 1.0 0.0 165.71 MB

Autopilot written in Keras for Self Driving Cars

Python 25.20% Shell 2.97% Makefile 2.24% Cap'n Proto 67.85% C++ 1.75%

selfdrive's Introduction

selfdrive

driving

Install:

sudo ./preperation/cereal/install_capnp.sh

Data

Now you need to download the commaai dataset from here you will get 10 files labeled from Chunk1.zip to Chunk10.zip. Choose one and unpack it into the data folder. In the data folder should now be folders with name 2019-0.... etc. Then you have to read them.

cd data/
python ../preperation/reader.py ./ ../unpacked_data

You can change the last argument to whereever you want to save your .npy files. So the training files. Keep in mind that you will have to remember this folder. Now the unpacked_data folder should be filled with files. Once that is done we can move onto the next step.

Training

python3 train.py ./unpacked_data/

this will give you two files once it's done. The first file "learning.h5" gets updated every epoch. The second file "final.h5" will be the final version and generated when the training is over. Both are the same at the end. They have the same weights in them.

Testing

python3 app.py  final.h5

If you encounter any issues feel free to post them. Have fun !

selfdrive's People

Contributors

littlemountainman avatar crumresearch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.