Skip to content

Commit

Permalink
vdn tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
AnastasiaPsarou committed Oct 9, 2024
1 parent ab2ecb1 commit 5066f69
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 156 deletions.
File renamed without changes
Binary file added docs/img/vdn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions tutorials/MarlAlgorithms/qmix_mutation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,15 @@
"import torch\n",
"\n",
"from tensordict.nn import TensorDictModule, TensorDictSequential\n",
"from torch.distributions import Categorical\n",
"from torchrl.envs.libs.pettingzoo import PettingZooWrapper\n",
"from torchrl.envs.transforms import TransformedEnv, RewardSum\n",
"from torchrl.envs.utils import check_env_specs\n",
"from torchrl.modules import MultiAgentMLP\n",
"from torch import nn\n",
"from torchrl._utils import logger as torchrl_logger\n",
"from torchrl.collectors import SyncDataCollector\n",
"from torchrl.data import TensorDictReplayBuffer\n",
"from torchrl.data.replay_buffers.samplers import SamplerWithoutReplacement\n",
"from torchrl.data.replay_buffers.storages import LazyTensorStorage\n",
"from torchrl.envs import RewardSum, TransformedEnv\n",
"from torchrl.modules import EGreedyModule, QValueModule, SafeSequential\n",
"from torchrl.modules.models.multiagent import MultiAgentMLP, QMixer\n",
"from torchrl.objectives import SoftUpdate, ValueEstimators\n",
Expand Down
Loading

0 comments on commit 5066f69

Please sign in to comment.