maxbrenner-ai / multi-agent-distributed-ppo-traffc-light-control Goto Github PK
View Code? Open in Web Editor NEWmulti agent RL for traffic light control in Sumo using distributed PPO
License: MIT License
multi agent RL for traffic light control in Sumo using distributed PPO
License: MIT License
Hello
I run the command " python main.py"
the model has an error. Could you show me how to fix it. Thanks
FileNotFoundError: [Errno 2] No such file or directory: 'models/saved_models/normal_3.pt'
Can you specify what version of TraCI
library did you use because while implementing main.py
code, I am encountering the following error:
Traceback (most recent call last):
File "/home/kunalkumarsahoo/mambaforge/envs/cistup/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/home/kunalkumarsahoo/mambaforge/envs/cistup/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/kunalkumarsahoo/Playground/CiSTUP/research_internship/Multi-Agent-Distributed-PPO-Traffc-light-control/run_agent_parallel.py", line 17, in train_worker
worker = PPOWorker(constants, device, env, None, shared_NN, local_NN, optimizer, id)
File "/home/kunalkumarsahoo/Playground/CiSTUP/research_internship/Multi-Agent-Distributed-PPO-Traffc-light-control/workers/ppo_worker.py", line 16, in __init__
self.state = self.env.reset()
File "/home/kunalkumarsahoo/Playground/CiSTUP/research_internship/Multi-Agent-Distributed-PPO-Traffc-light-control/environments/environment.py", line 77, in reset
if self.conn_label in traci.main._connections:
AttributeError: module 'traci' has no attribute 'main'
hello,maxbren! I hava download your code and want to tun it on my local pc. You say that change the single agent as false. But,I can not fint it. Could you telll me?
Hi, I am very grateful that you can provide the code repository. I run the main.py by modifying the run function. I found there is no models about grid_search() and random_search(). I output the different run_data file names by modifying the run function and obtain three sets of the run_data files. So ,can you help me to save the other two models?
In addition, could you provide the link to the code related papers?
Hello Max, I try running your code with the grid model (with installing all dependencies), unfortunately, ended with the following error: FileNotFoundError: [Errno 2] No such file or directory: 'models/saved_models/grid_1-1.pt'. There is no folder saved_models, so I removed that in the vis_agent.py, but still I face the same issue. Is there any solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.