Skip to content

Error while data collection #48

Description

@SExpert12

Hello,

Can any one help with data collection file. When I "data_collect.py --num-runners=8", I get this error:.

towns = {i: f'Town{i+1 : 02d}' for i in range(7)}
^
SyntaxError: invalid syntax

checkpoint = f'results/{i:02d}_{args.checkpoint}'

Edit: I am getting error in 'f-string' line.

I know it is correct as per python but as it is showing error, is there any other way to write this line to make code work?

Thanks!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions