google / google/dopamine

TypeError, 'Regexp cannot be negated' in ReDo when running sac_train_eval.py

Open
#218 2 comments 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

I tried to run sac_train_eval.py with sac_mujoco_dense_config.gin, and I used the following command:
python -um dopamine.labs.redo.train --base_dir /tmp/dopamine_runs --gin_files dopamine/labs/redo/tfagents/configs/sac_mujoco_dense_config.gin

I tried to run this both in linux and windows operating system, and I met the same error as follows:
Traceback (most recent call last):
File "D:/experiments/2023.12.11 dopamine/dopamine-master/dopamine/labs/redo/tfagents/sac_train_eval.py", line 26, in
import reverb
File "D:\Anaconda3\envs\mujocotaac\lib\site-packages\reverb.py", line 64
raise TypeError, 'Regexp cannot be negated'
^
SyntaxError: invalid syntax
I guess this is related to the version of the revert package, so I tried to change the version. But it did not work.
I wonder if there is another way to slove this problem. Looking forward to your reply. Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.