You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to resolve it by uninstalling dopamine-rl and reinstalling the project in "editable" mode using the following steps:
Uninstall the dopamine-rl package:
pip uninstall dopamine-rl
Reinstall the project in editable mode (from the project root directory):
pip install -e .
The editable mode (-e) ensures that Python links directly to the project files rather than copying them. This allows any local changes to the project files to take immediate effect and ensures the modules are correctly recognized.
After this, the issue with ModuleNotFoundError: No module named 'dopamine.labs.redo' was resolved, and everything worked as expected.
Hello,
I encountered an issue when running the Dopamine framework where the module
dopamine.labs.redo
cannot be found. Below are the details:Problem:
While trying to run the script
train.py
located in thedopamine/labs/redo/
directory, I get the following error:What I have checked:
File structure: The
redo
folder exists withindopamine/labs/
and contains the following files:__init__.py
recycled_atari100k_rainbow_agent.py
Environment:
PYTHONPATH
and have also manually added it viasys.path.append()
.Steps to reproduce:
dopamine/labs/redo/
.train.py
.dopamine.labs.redo
cannot be found.Expected behavior:
I expected the script to correctly locate and import
dopamine.labs.redo
.Additional notes:
dopamine.labs
(such asdopamine.labs.atari_100k
) can be imported without issue.Any insights or help with resolving this issue would be greatly appreciated. Thank you in advance!
The text was updated successfully, but these errors were encountered: