nicklashansen/tdmpc

Other envs

wenzhoulyu opened this issue · 2 comments

Hi, i'm sorry to be a bother. I wonder how i run my own env in your code. Beacuse i found that there is if (domain, task) in suite.ALL_TASKS:.

Our repo uses DMControl which follow the standard gym api, so it should be fairly straightforward to extend to other environments. You will need to modify the make_env function at

def make_env(cfg):
such that it uses your own environment + wrappers. You might also need to normalize the action space to [-1, 1] if it is not already normalized.

thank you so much!