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

一些关于MADDPG的问题 #5

Open
Leapin123 opened this issue Jul 3, 2023 · 4 comments
Open

一些关于MADDPG的问题 #5

Leapin123 opened this issue Jul 3, 2023 · 4 comments

Comments

@Leapin123
Copy link

您好,请问要怎么编写DDPG算法作为这个使用MADDPG算法的对比?期待您的回复,谢谢。

@lyjxxr
Copy link

lyjxxr commented Sep 21, 2023

usage: main.py [-h] [--episode_num EPISODE_NUM]
[--episode_length EPISODE_LENGTH]
[--learn_interval LEARN_INTERVAL] [--random_steps RANDOM_STEPS]
[--tau TAU] [--gamma GAMMA] [--buffer_capacity BUFFER_CAPACITY]
[--batch_size BATCH_SIZE] [--actor_lr ACTOR_LR]
[--critic_lr CRITIC_LR]
{simple_adversary_v2,simple_spread_v2,simple_tag_v2}
main.py: error: the following arguments are required: env_name
这个是什么原因

@lyjxxr
Copy link

lyjxxr commented Sep 21, 2023

运行不了 main.py

@Leapin123
Copy link
Author

运行不了 main.py

你需要指定相信环境名。
python main.py 具体的env_name
如:python main.py simple_tag_v2

@lyjxxr
Copy link

lyjxxr commented Dec 1, 2023 via email

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

2 participants