Skip to content
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

[Feature] CatFrames for offline data #1122

Merged
merged 26 commits into from
May 5, 2023
Prev Previous commit
Next Next commit
fix envpool
  • Loading branch information
vmoens committed May 4, 2023
commit 627275b999a0cafc70c7cd5e9c57c18df46e022f
4 changes: 4 additions & 0 deletions test/_utils_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ def create_env_fn():
for key in env0.observation_spec.keys(True, True):
obs_key = key
break
else:
obs_key = None

if transformed_out:
t_out = get_transform_out(env_name, transformed_in, obs_key=obs_key)
Expand Down Expand Up @@ -239,6 +241,8 @@ def _make_multithreaded_env(
for key in env_multithread.observation_spec.keys(True, True):
obs_key = key
break
else:
obs_key = None
if transformed_out:
env_multithread = TransformedEnv(
env_multithread,
Expand Down