Open SExpert12 opened 3 months ago
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!!
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!!