-
Notifications
You must be signed in to change notification settings - Fork 161
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
[Solved] colab tutorial error #108
Comments
and i am confusied about your result in “/master/results/mpe_cooperative/simple_spread/mappo_gru_simple_spread) |
Hello, thank you for your attention. MARLlib is currently undergoing active development, which means that the Colab environment may be unstable. We suggest that you clone the repository and perform the training/testing process on your local machine for more stability. Regarding the results located at Therefore, we highly recommend reproducing all the results locally. For the simple_spread + MAPPO combination, we suggest using the following script: from marllib import marl
env = marl.make_env(environment_name="mpe", map_name="simple_spread", force_coop=True)
mappo = marl.algos.mappo(hyperparam_source="mpe")
model = marl.build_model(env, mappo, {"core_arch": "mlp", "encode_layer": "128-256"})
mappo.fit(env, model, stop={'episode_reward_mean': 2000, 'timesteps_total': 10000000}, local_mode=False, num_gpus=1,
num_workers=5, share_policy='all', checkpoint_freq=200) The results will be stored in the same directory where you run the code. |
Thank you for your instant reply,Integrating so many algorithms is indeed not a small project, understand,O(∩_∩)O |
The colab has been updated. Feel free to explore it and give it a try by visiting this link. |
I think this issue is still a problem |
It seems that your tutorial on Colab has some problems in the installation of environmental installation. What is your python version. This is not an urgent problem, but it affects the learning of the beginner for the project。(* ̄︶ ̄)
The text was updated successfully, but these errors were encountered: