AndreaVidali / Deep-QLearning-Agent-for-Traffic-Signal-Control

A framework where a deep Q-Learning Reinforcement Learning agent tries to choose the correct traffic light phase at an intersection to maximize traffic efficiency.
MIT License
405 stars 146 forks source link

Clear session to avoid slowdown from memory leaks #40

Open YingfanGu opened 5 months ago

YingfanGu commented 5 months ago

Clear session to avoid slowdown from memory leaks, add tf.keras.backend.clear_session() in model.py