Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于MARL智能体保存数量的问题 #34

Open
shehhais opened this issue Aug 30, 2024 · 0 comments
Open

关于MARL智能体保存数量的问题 #34

shehhais opened this issue Aug 30, 2024 · 0 comments

Comments

@shehhais
Copy link

在这个代码中,n_veh被设置为4,训练完成后marl_model文件夹中有4个智能体。
当我改变n_veh的数量时,例如设置为20,训练完成应有20个智能体,但是存入marl_model文件夹中的却只有编号靠后的5个agent。
我通过设置断点一步步检查发现,最多只能存入5个agent,当有新的agent存入时序号最靠前的agent会被删除。
(例如agent5存入时,agent0会被删除)
请问这是什么原因?我在不同的电脑上尝试过了都是一样的情况,希望能得到您的解答。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant