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

How can I run multiple scenarios simultaneously when evaluating? #17

Open
linglingxiansen opened this issue Jan 27, 2024 · 5 comments
Open

Comments

@linglingxiansen
Copy link

I want to run multiple scenes or multiple episodes at the same time while evaluating, rather than one episode at a time. Can I configure this in args? I tried to change num_process, but it seems to be a parameter for the number of training processes. Thanks for your kindly help very much!

@linglingxiansen
Copy link
Author

@ybgdgh Thanks very much for your help! :)

@ybgdgh
Copy link
Owner

ybgdgh commented Jan 29, 2024

you can try to use "-n " to configure the parallel running.

@linglingxiansen
Copy link
Author

you can try to use "-n " to configure the parallel running.

Thanks very much. But when I tried to run it with "-n 6", it will run in parallel, but I only want to run 2000 episodes, and the program ends up running 16000, which doesn't seem to be running multiple episodes at the same time, but one episode running multiple times?

@ybgdgh
Copy link
Owner

ybgdgh commented Jan 29, 2024

Yes you need to use "-n" and "--num_eval_episodes" together to make sure the final episode number. The total number is n*num_eval_episodes. For example, if you want to run 2000, you can set n = 5 and num_eval_episodes=400.

@linglingxiansen
Copy link
Author

Yes you need to use "-n" and "--num_eval_episodes" together to make sure the final episode number. The total number is nnum_eval_episodes. For example, if you want to run 2000, you can set n = 5 and num_eval_episodes=400.是的,您需要同时使用“-n”和“--num_eval_episodes”以确保最终的剧集编号。总数为 nnum_eval_episodes。例如,如果要运行 2000,可以设置 n = 5 和 num_eval_episodes=400。

Thanks very much! I got it, let me try. :)

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