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

Reward function #133

Open
zqkdlmu2023 opened this issue Sep 24, 2024 · 5 comments
Open

Reward function #133

zqkdlmu2023 opened this issue Sep 24, 2024 · 5 comments

Comments

@zqkdlmu2023
Copy link

I wanted to know how to find the task-specific reward function when training VMAS with BenchMARL, and how to modify the number of training sessions. Looking forward to your reply!

@zqkdlmu2023
Copy link
Author

How to adjust the training time? I tried to adjust max_n_frames, but the following error occurred (see figure)
Uploading 2024-09-25 11-32-16屏幕截图.png…

@matteobettini
Copy link
Collaborator

The reward functions of VMAS tasks are in the reward function of each scenario in https://github.com/proroklab/VectorizedMultiAgentSimulator/tree/main/vmas/scenarios

The ones of the other simulators are in the other simulators

@zqkdlmu2023
Copy link
Author

Thanks for your answer, I have found the reward function and modified it, but it seems that the modification did not take effect when training with benchmarl.
In addition, I trained the passage task with the default experimental hyperparameters, but the experimental results always failed to meet expectations.(Experimental results are shown in the figure below.)
Looking forward to your answer to my question, it will be very helpful for me!
Uploading 2024-09-25 20-03-12屏幕截图.png…

@matteobettini
Copy link
Collaborator

If you want to edit vmas you have to install it locally.

@zqkdlmu2023
Copy link
Author

If you want to edit vmas you have to install it locally.

Yes, I modified it locally.
If possible, I hope you can share the experimental parameters of the passage task.This will make it easier for me to replicate your excited work.

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