Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jun 13, 2023
1 parent 7c48bff commit ed57fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion intermediate_source/coding_ddpg.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ def make_ddpg_actor(
).to(device)

# initialize lazy modules
qnet(actor(proof_environment.reset()))
qnet(actor(proof_environment.reset().to(device)))
return actor, qnet


Expand Down

0 comments on commit ed57fca

Please sign in to comment.