Skip to content

Run SAC Demo Error with one extra {} #2

@wangxso

Description

@wangxso
Traceback (most recent call last):
  File "/home/wangxs/d2rl/sac/main.py", line 71, in <module>
    group='{}_{}{}'.format(args.env_name, gym_env),
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: Replacement index 2 out of range for positional args tuple

My Solution is change the code

group='{}_{}'.format(args.env_name, gym_env) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions