Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 15, 2024
2 parents f01b33f + d230184 commit 05e7d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sota-implementations/ppo/utils_atari.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def make_ppo_modules_pixels(proof_environment, device):
strides=[4, 2, 1],
device=device,
)
common_cnn_output = common_cnn(torch.ones(input_shape))
common_cnn_output = common_cnn(torch.ones(input_shape, device=device))
common_mlp = MLP(
in_features=common_cnn_output.shape[-1],
activation_class=torch.nn.ReLU,
Expand Down

0 comments on commit 05e7d88

Please sign in to comment.