Skip to content

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

@seekingpure

Description

@seekingpure

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions