https://github.com/aggrathon/caraisimulator

Selfdriving car AI and a simulator to drive in

https://github.com/aggrathon/caraisimulator

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.9%) to scientific vocabulary

Keywords

ai csharp machine-learning neural-network python python3 simulator tensorflow unity unity3d
Last synced: 6 months ago · JSON representation

Repository

Selfdriving car AI and a simulator to drive in

Basic Info
  • Host: GitHub
  • Owner: Aggrathon
  • License: apache-2.0
  • Language: C#
  • Default Branch: master
  • Size: 30.4 MB
Statistics
  • Stars: 20
  • Watchers: 3
  • Forks: 5
  • Open Issues: 0
  • Releases: 1
Topics
ai csharp machine-learning neural-network python python3 simulator tensorflow unity unity3d
Created over 8 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

readme.md

Selfdriving Car AI and Simulator

This project contains a neural network for driving a car in a simulator. The simulator is also part of the project. The goal with not using a existing game/simulator is to allow more control over the data being fed to the AI, which made some experimentation possible.

Simulator

The simulator is made with unity. It generates random terrains in order to create varied learning situations. The simulator communicates with the AI through a local socket, this means that often both the simulator and the AI have to be started.

AI

The AI receives the following input:
1. A color image.
2. A grayscale image created from the depth and normal buffers (a LADAR scanner would be the real life equivalent).
3. The current speed of the car.

The output is acceleration and turning values.

Download

A windows version of the simulator can be downloaded here. The trained network is unfortunately too big to distribute here (maybe the fully connected layers coud be smaller).

Usage

Here is the normal flow for using the AI: 1. Use the simulator and the record.py script to to create examples of how humans drive.
2. Train the AI on the recorded examples using the learn.py script.
3. Improve the AI with reinforcement learning, using the simulator and the train.py script.
4. Let the AI drive in the simulator with the drive.py script.

Dependencies

  • Python 3
  • Tensorflow
  • Unity (2017.2)

Owner

  • Name: Anton Björklund
  • Login: Aggrathon
  • Kind: user
  • Company: @edahelsinki

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 2 minutes
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 2 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • busy0161 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels