Open WiemKhlifi opened 1 month ago
I think this would be very nice, but how would jumanji.make
pick it up if it's not registered? I think make
would then need to call this method, register the env if it's valid and then make the env? I'd be interested to a POC for this if you have some capacity to implement it?
I'd like to make a POC probably in the upcoming weeks ( I'll make progress based on the other tasks), but we can make something like the ones in matrax here using jumanji register which is similar to what gymnasium do and cleaner than what first method do. But still, the first method quicker and doesn't need to store anything like a register. Probably a POC using the Jumanji register to check the feasibility of this (second method) and ensure we don't have the same issues we had with the gym. What do you think?
Sounds good :smile:
Is your feature request related to a problem? Please describe
Configuring environments in Jumanji involves manually setting different parameters such as grid size, number of agents etc. This manual setup is not only time consuming but complicates the integration of Jumanji envs with RL frameworks like MAVA. Each new scenario addition currently requires a distinct YAML configuration, as seen here in the MAVA repo.
Describe the solution you'd like
I propose implementing a standardised naming convention for Jumanji envs that succinctly encodes all necessary parameters into the environment's name. This approach would mimic the simplicity of classical Gym envs. For example:
A function to extract and apply this naming convention could look like this:
Describe alternatives you've considered
An alternative could involve establishing a registration system akin to Gym's, where we can register environments with predefined attributes:
Misc