LAV icon indicating copy to clipboard operation
LAV copied to clipboard

Error while data collection

Open SExpert12 opened this issue 1 year ago • 0 comments

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!!

SExpert12 avatar May 23 '24 07:05 SExpert12