Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jul 9, 2024
1 parent 3610510 commit 725e6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sota-implementations/dreamer/dreamer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def _make_env(cfg, device, from_pixels=False):
cfg.env.task,
from_pixels=cfg.env.from_pixels or from_pixels,
pixels_only=cfg.env.from_pixels,
device=device,
)
else:
raise NotImplementedError(f"Unknown lib {lib}.")
Expand All @@ -98,7 +99,6 @@ def _make_env(cfg, device, from_pixels=False):
env = env.append_transform(
TensorDictPrimer(random=False, default_value=0, **default_dict)
)
assert env is not None
return env


Expand Down

0 comments on commit 725e6df

Please sign in to comment.