## **Traffic Optimisation**
Traffic Signals optimisation for better road traffic handling using
Deep Reinforcement Learning.
The software SUMO ( Simulation of Urban MObility )
has been used to simulate traffic. To control the traffic signals system,
the Traci, or Traffic Control Interface has been used which allows to
retrieve values of simulated objects and to manipulate their behaviour "on-line".
### **Setup Instructions**
Install SUMO 0.28.0 using the command -
`sudo apt-get install sumo sumo-tools sumo-doc`
Create a virtual environment(install if not installed) using the command -
`virtualenv venv`
Activate the virtual environment -
`source venv/bin/activate`
Install requirements using
`pip install -r setup/requirements.txt`
Set the SUMO_HOME environment variable equal to the SUMO directory installed in
your system ( /usr/share/sumo ).
Clone this repository using
`git clone https://github.com/Wert1996/Traffic-Optimisation.git`
To see the simulation in action, run
`python singleSimulation.py`
To see the training of the Deep Q Learner in action, run
`python control.py`
The training can be run in gui mode by changing sumo to sumo-gui in the sumo binary path in control.py.
The training results are stored in ResultsOfSimulations.txt
没有合适的资源?快使用搜索试试~ 我知道了~
使用深度Q学习的交通信号计时_Python_下载.zip
共23个文件
xml:8个
txt:5个
py:5个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 177 浏览量
2023-04-27
10:59:40
上传
评论
收藏 3.21MB ZIP 举报
温馨提示
使用深度Q学习的交通信号计时_Python_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
使用深度Q学习的交通信号计时_Python_下载.zip (23个子文件)
Traffic-Optimisation-master
ResultsOfSimulations.txt 30KB
data
bangalore.sumo.cfg 595B
resultsOfDetectors.xml 62KB
typemap.xml 3KB
bangalore.poly.xml 1KB
trips.trips.xml 148KB
bangalore.osm 8KB
runThisForConfig.txt 465B
bangalore.det.xml 6KB
bangalore.rou.xml 224KB
runThisForReset.txt 153B
bangalore.net.xml 62KB
bangalore.rou.alt.xml 435KB
save
traffic.h5 3.35MB
singleSimulation.py 2KB
.gitignore 29B
setup
requirements.txt 27B
control.py 3KB
README.md 1KB
scripts
__init__.py 0B
Dqn.py 2KB
auxilliary.py 2KB
License.txt 1KB
共 23 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功