-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if i want employe this work to a new env, what should i do #52
Comments
Thank you for the kind words!
And you should be able to call
The script should detect if your problem has discrete or continuous actions (from Let me know if that worked for you! |
Thanks for your reply! I will try it! |
Thanks for your reply! I have some questions about the reset_Wait. When i reset the env, there are alwanys read time eror. |
Can you give me some reason, thanks a lot |
Can you give the full traceback of the error? There is no It would also be helpful if you could attach the code of your environment here as well. |
I'm sorry for reply you so late. import copy import gym from gym_carla.envs.render import BirdeyeRender class CarlaEnv(gym.Env): def init(self, params,low=2.0,high=10.0, task={}):
def sample_tasks(self, num_tasks): def reset_task(self, task): def reset(self, env=True):
def step(self, action):
def seed(self, seed=None): def render(self, mode): def _create_vehicle_bluepprint(self, actor_filter, color=None, number_of_wheels=[4]):
def _init_renderer(self):
def _set_synchronous_mode(self, synchronous = True): def _try_spawn_random_vehicle_at(self, transform, number_of_wheels=[4]):
def _try_spawn_random_walker_at(self, transform):
def _try_spawn_ego_vehicle_at(self, transform):
def _get_actor_polygons(self, filt):
def _get_obs(self):
def _get_reward(self):
def _terminal(self):
def _clear_all_actors(self, actor_filters): |
I don't know exactly what the problem can be since I'm not familiar with CARLA, but for these kinds of environments it could be an incompatibility with multiprocessing. I imagine your environment works otherwise (you can initialize it, and call |
Thanks for this great work! I'd like to konw if iwant employe the meta-rl on the new env (such as carla), what should i do
The text was updated successfully, but these errors were encountered: