Skip to content

Commit

Permalink
fix python version
Browse files Browse the repository at this point in the history
        from collections import Mapping
    ImportError: cannot import name 'Mapping' from 'collections'
  • Loading branch information
vmoens committed Feb 10, 2025
1 parent bbee029 commit 6b0ae71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/sphinx-tutorials/pretrained_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import torch.cuda
from tensordict.nn import TensorDictSequential
from torch import nn
from torchrl.envs import Compose, R3MTransform, TransformedEnv, Compose
from torchrl.envs import Compose, R3MTransform, TransformedEnv
from torchrl.envs.libs.gym import GymEnv
from torchrl.modules import Actor

Expand Down

0 comments on commit 6b0ae71

Please sign in to comment.