google / google/dopamine

No module named 'dopamine.labs.redo

Open
#221 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
10.9k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

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 the `dopamine/labs/redo/` directory, I get the following error:
```
ModuleNotFoundError: No module named 'dopamine.labs.redo'
```

#### What I have checked:
- **File structure**: The `redo` folder exists within `dopamine/labs/` and contains the following files:
- `__init__.py`
- `recycled_atari100k_rainbow_agent.py`
- Other related files.

- **Environment**:
- I’m using an Anaconda environment with Python 3.10.
- I’ve ensured that the project root directory is included in the `PYTHONPATH` and have also manually added it via `sys.path.append()`.

#### Steps to reproduce:
1. Clone the Dopamine repository.
2. Navigate to `dopamine/labs/redo/`.
3. Run `train.py`.
4. The error appears indicating that `dopamine.labs.redo` cannot be found.

#### Expected behavior:
I expected the script to correctly locate and import `dopamine.labs.redo`.

#### Additional notes:
- Other modules within `dopamine.labs` (such as `dopamine.labs.atari_100k`) can be imported without issue.
- I have checked and there are no typos in the import path.
- The project structure seems consistent with the Dopamine framework's setup.

Any insights or help with resolving this issue would be greatly appreciated. Thank you in advance!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the import failure from dopamine/labs/redo/train.py and inspect the package structure around dopamine/labs/redo/__init__.py. Compare the failing import with the working dopamine.labs.atari_100k import and check how the repository is exposed through PYTHONPATH. Done means train.py can import dopamine.labs.redo successfully in the stated Python 3.10 environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.