sail-sg / envpool

C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments.
https://envpool.readthedocs.io
Apache License 2.0
1.09k stars 100 forks source link

[Feature Request] Template for private env that uses envpool as a dependency #155

Closed mavenlin closed 1 year ago

mavenlin commented 2 years ago

Motivation

It is desirable that one can develop their own env without having to work under envpool's code base. While still have the access to register the env with envpool and use the make function to create it. It seems already possible with our current code base, we just need a template repo.

Solution

import envpool
import my_private_env
my_env = envpool.make("MyPrivateEnv")

Where my_private_env is developed as another package.

Checklist

cc @zhongwen

Trinkle23897 commented 2 years ago

Can we create another repo for this template? What do you think the name of this repo?

zhongwen commented 2 years ago

private pool