-
netedit [Make network file]
-
python randomTrips.py -n intersection.net.xml -r intersection.rou.xml[Make route file] -
Change the path in
intersection.sumocfg -
sumo-gui -c intersection.sumocfg[Run the simulation] -
python train.py --train -e 50 -m model_name -s 500[Train the network] -
python train.py -m model_name -s 500[Run the trained model] -
netconvert --osm-files king_circle.osm -o king_circle.net.xml
SUMO → DQN → ONNX → OpenVINO.
ovc traffic_light_dqn.onnx --output_model optimized_model/traffic_light_dqn --input "input[1,6]"