Open huigeopencv opened 11 months ago
It appears that the issue may be related to differences between versions of Ray/RLlib, which are not backward and forward compatible. I recommend transitioning to at least version 1.8, which is the foundation of MARLlib. Additionally, transferring an algorithm from our framework to yours might be a challenging task.
The version I am using is ray1.8.0. I guess it is because of my training environment problem and it should be incompatible. But I really don’t have a clue to DEBUG
Since you want to use the algorithm of MARLlib, I guess you may need to override the abstract class MultiAgentEnv
provided by ray, or write a wrapper for the algorithm to work. Also, try to adhere implementation example from add_new_env.py
, which will ensure interfaces are correctly matched.
Hello, I am very impressed with the work you have accomplished so far on your project. But I am encountering some problems now and would like to ask you for advice. I am doing DRL in transportation, that is, combining SUMO and RAY. Since I used the RAY0.8.0 version before, which version lacked the MAPPO and MADDPG algorithms, so when I found your project, I added the programs for the two algorithm parts of the project to my folder. But when running, the following error occurred.
I haven't been able to find the problem, and I hope you can take the time to enlighten me. Below is the main content of my main function and training environment function.