remove internal rendering hooks
This commit is contained in:
@@ -116,7 +116,6 @@ class PushtEnv(AbstractEnv):
|
||||
batch_size=[],
|
||||
)
|
||||
|
||||
self.call_rendering_hooks()
|
||||
return td
|
||||
|
||||
def _step(self, tensordict: TensorDict):
|
||||
@@ -139,8 +138,6 @@ class PushtEnv(AbstractEnv):
|
||||
stacked_obs["state"] = torch.stack(list(self._prev_obs_state_queue))
|
||||
obs = stacked_obs
|
||||
|
||||
self.call_rendering_hooks()
|
||||
|
||||
td = TensorDict(
|
||||
{
|
||||
"observation": TensorDict(obs, batch_size=[]),
|
||||
|
||||
Reference in New Issue
Block a user