I am not able to import any torchrl module even if I have successfully installed it. I am using Google Collaboratory.
After a web search I have correctly working tensordict, that is indicated as an error source.
I have discovered that is specifically associated with the Multiagent Reinforcement Learning Tutorial.
Hi, I am running into the same import issue on the same tutorial. I have already installed the nightly build of torchRL with pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118. Is there anything else I can do?
Specific error:
❯ python3 tutorial.py
Traceback (most recent call last):
File "tutorial.py", line 20, in <module>
from torchrl.modules import MultiAgentMLP, ProbabilisticActor, TanhNormal
ImportError: cannot import name 'MultiAgentMLP' from 'torchrl.modules' (/home/kfu38/.local/lib/python3.8/site-packages/torchrl/modules/__init__.py)