Skip to content

Commit 623fd3d

Browse files
authored
fix calling to NoneType object
1 parent 1778ddb commit 623fd3d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bindsnet/pipeline/environment_pipeline.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,7 @@ def step_(
252252
obs = obs.unsqueeze(0).unsqueeze(0)
253253
obs_shape = torch.tensor([1] * len(obs.shape[1:]), device=self.device)
254254
inputs = {
255-
k: self.encoding(
256-
obs.repeat(self.time, *obs_shape).to(self.device),
257-
device=self.device,
258-
)
255+
k: obs.repeat(self.time, *obs_shape).to(self.device)
259256
for k in self.inputs
260257
}
261258
else:

0 commit comments

Comments
 (0)