Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 27, 2023
1 parent 58b0aae commit 6b161ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/objectives/multiagent/qmixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def __init__(
with params.apply(
self._make_meta_params, device=torch.device("meta")
).to_module(global_value_network):
self.global_value_network = deepcopy(global_value_network)
self.__dict__["global_value_network"] = deepcopy(global_value_network)

self.convert_to_functional(
local_value_network,
Expand Down

0 comments on commit 6b161ff

Please sign in to comment.