spirl
spirl copied to clipboard
Running error "gym.error.UnregisteredEnv: No registered env with id: kitchen-mixed-v0"
Hello,when I am running the code "gym.make('kitchen-mixed-v0')" throw error "gym.error.UnregisteredEnv: No registered env with id: kitchen-mixed-v0", but I am already install d4rl and can import it correctly. How can I solve it? Thank you for replay!
Hi!
This is a bit odd -- can you build other d4rl environments after importing d4rl? did you import the d4rl package before calling gym.make(...)? Importing the package is important to register the environments, even if you don't explicitly call the package after. (note that this is likely an issue independent of the SPiRL codebase, since kitchen-mixed-v0
is an environment of the original D4RL codebase (although we did create our own fork of the environment to make some SPiRL-specific modifications to the interface)