dotchen / LAV

(CVPR 2022) A minimalist, mapless, end-to-end self-driving stack for joint perception, prediction, planning and control.
https://dotchen.github.io/LAV/
Apache License 2.0
397 stars 68 forks source link

Error while data collection #48

Open SExpert12 opened 3 months ago

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