farm-gym / rlberry-farms

Farms created from farm-gym to be used with rlberry.
0 stars 0 forks source link

Google collab not working #1

Open delbuchet opened 1 year ago

delbuchet commented 1 year ago

Hello, I find your work on farm simulators very interesting and very advanced as it really take a lot of environmental parameters into account. However, when I tried running the google collab (https://colab.research.google.com/drive/1AauxwIGebI11fF1sJgZp9nYx5M1SoPfV?usp=sharing#scrollTo=612d28c7) it did not work. The error arise when calling the manager with the "fit" function. I get: "AssertionError: Unknown parameters sent to agent:dict_keys(['eps_clip'])" Furthermore, it seems like the farm_gym environments are not registered on open ai. At least I could not find them when running these lines: from gym import envs envs.registry.keys()

Do you know what is the issue ? I guess versioning of rlberry and/or the farm env but I did not manage to fix it. Many thanks in advance!

brahimdriss commented 1 year ago

Hi ! Thank you for your interest and for raising the issue. Farm-gym had some major updates (including moving to gymnasium). The environments are ready to use, but wrappers for deep reinforcement learning libraries (rlberry, sb3 ..) are currently work in progress and should be ready very soon. You can take a look at the Farm-gym repo, Farm-gym games repo or try interacting directly with the farms using this colab link.

If you have any questions, don't hesitate to ask !