ArduinoDQNCar
My Arduino Deep Q-Learning Car Project
Install / Use
/learn @kasey-/ArduinoDQNCarREADME
ArduinoDQNCar
You will find here the code for a series of posts following up on running neural networks on an Arduino and pushing the concept furthermore by training first the neural network in a simulator then loading it to an Arduino and refining the training in vivo (my living room).
How to use it
... to do ...
Sources & Acknowledgments
This project relies on the following ressources:
- http://deeplizard.com/learn/video/nyjbcRQ-uQ8
- https://github.com/keon/deep-q-learning
- https://github.com/harvitronix/reinforcement-learning-car
- https://www.youtube.com/playlist?list=PL1P11yPQAo7pH9SWZtWdmmLumbp_r19Hs
- https://subscription.packtpub.com/book/big_data_and_business_intelligence/9781788834247
And use:
- https://github.com/viblo/pymunk
- https://bitbucket.org/pyglet/pyglet/wiki/Home
- https://github.com/keras-rl/keras-rl
- https://github.com/openai/gym
Step 0: Ultrasonic Scanner
3D printed servo-mount for ultrasonic sensor and code to drive it.
Step 1: Motor Speed PID Control
I tried to control motor speed using a PID control. However, the mechanic is too wobbly to produce any quality output.
Step 2: Robot Simulator
Create a simulator where a simulated robot evolves
Step 3: Deep Reinforcement Learning
Use the simulator and Keras-rl to train a neural network to drive the robot according to its environment.
Step 4: Training Over BLE
Execute the training locally in the computer but use the real robot to take actions and observe result over Bluetooth.
Todo
Cleanup
- [x] Write the readme description and add github tags to the project
- [x] Add references to used source code and licence repository
- [x] Organize folders (Python, Dataset, Tinn, Articles Steps, Pictures, etc...)
- [x] Split python simulator for DQN code (moved into Gym env)
Get it working
- [x] Fine tune hyper parameters
- [x] Regularly save models
- [ ] Implement training refinement in vivo
- [ ] Write how to use it
Improvements
- [x] Improve simulator
- [x] Improve DQN algo (moved to Keras-rl with crazy built-in rl algo)
- [ ] Implement relu for Genann
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
groundhog
398Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
