Closed ShangqunYu closed 3 years ago
Hi. 1) Each RLBench env needs to be created in a new process. See here: https://github.com/stepjam/PyRep#running-multiple-pyrep-instances
2) You select the action mode when defining the environment. See the examples, e.g. https://github.com/stepjam/RLBench/blob/master/examples/single_task_rl.py#L23
Thanks for getting back to me Stephen:) Regarding question 2, I have seen the example, but like I have mentioned, I would like to use RLBenchEnv which inherits from gym instead of Environment, because we have been trying to use some existing open source algorithm such as stable baseline as our baseline. Shall I just make an env by using gym.make and create a new environment class with the desired action mode, and replace the original environment from the env with the new environment I created? thanks:)
Sorry for delay. I assume this has been resolved. Feel free to reopen if needed!
Hi, have you found a way to use gym-like env with specified action-mode? This issue has been marked as closed but I did not see your question been solved.
Thanks for getting back to me Stephen:) Regarding question 2, I have seen the example, but like I have mentioned, I would like to use RLBenchEnv which inherits from gym instead of Environment, because we have been trying to use some existing open source algorithm such as stable baseline as our baseline. Shall I just make an env by using gym.make and create a new environment class with the desired action mode, and replace the original environment from the env with the new environment I created? thanks:)
We also encountered the same issue, how did you solve it?
Hi, Stephen, I tried to make two gym environments and saw your provided example, but it's a bit difficult for me to implement, could you show me more details about making two gym environments?
Thanks! :)