suessmann / intelligent_traffic_lights

Traffic Lights Control with Deep Learning
MIT License
69 stars 15 forks source link

SUMO simulation #3

Open lzdimu opened 3 years ago

lzdimu commented 3 years ago

Can I ask how to use this project to implement SUMO traffic simulation? In other words, could you provide complete test.py code?

suessmann commented 3 years ago

What exactly are your goals here? The test environment is implemented in the src/test.py file.

lzdimu commented 3 years ago

What exactly are your goals here? The test environment is implemented in the src/test.py file.

Thank you for your reply! I wanted to achieve the same effect as the GIF image you provided. I ran your src/test.py file, and it turns out that the traffic lights didn’t change, but I don’t know where's the code I need to change, Or am I running it wrong......

Lemon971122 commented 3 years ago

Thank you, I tried to run your test.py, but the east-west vehicles in Sumo keep queuing, what's the matter? There is no response when running training.py