Master the art of autonomous 2D parking with advanced Deep Q-Learning.
Project details
Autodrive offers a unique solution for training autonomous parking agents using Deep Q-Learning. Built from scratch in Rust and Bevy, it features a fully integrated MLP neural network and custom DQN training. The project emphasizes native implementation and provides a real-time simulation environment, allowing for effective learning in complex 2D parking scenarios.
The Autodrive project is an advanced implementation of an autonomous 2D parking agent, expertly constructed from scratch using Rust and the Bevy Engine. This agent harnesses the power of a multilayer perceptron (MLP) and a custom Deep Q-Network (DQN) training loop to master the challenge of parking in dynamically generated virtual environments.
To initiate a training session with a randomly initialized model, the following command can be utilized:
cargo run
To continue training from a saved model, use:
cargo run -- --model=path/to/model.bin --train
For inference with a previously saved model, execute:
cargo run -- --model=path/to/model.bin
In inference mode, pressing Space allows users to abandon the current episode, register it as a crash, generate a new map, and reset the vehicle.
This implementation features a robust architectural design that efficiently manages the model and training processes:
Benchmark results derived from the model_V1.bin checkpoint include simulation metrics such as episode counts, success rates, crashes, and average steps. Documentation on the reward baselines and empirical observations is provided in the Reward Analysis V1. Future versions will include updates on reward calculation methodologies.
This project serves as an innovative exploration of reinforcement learning in the realm of autonomous vehicle simulation, providing insights into the intricacies of deep learning methodologies while ensuring a practical demonstration of capabilities.
Comments
1Don't forget to drop a star if you like it!