tugot17 / YOLO-Object-Counting-API

The code of the Object Counting API, implemented with the YOLO algorithm and with the SORT algorithm
GNU General Public License v3.0
210 stars 57 forks source link

SyntaxError: invalid syntax #3

Closed st119478 closed 4 years ago

st119478 commented 4 years ago

File "count_cars_crosing_virtual_line.py", line 2, in from object_counting_api import ObjectCountingAPI File "/home/nims/Downloads/YOLO-Object-Counting-API-master (2)/object_counting_api.py", line 33 f"{label}: {quantity}", ^ SyntaxError: invalid syntax

Please help me

tugot17 commented 4 years ago

It looks like You are using python <3.6 which doesn't support this way of formatting strings. Try to use python in version 3.6 or higher

tugot17 commented 4 years ago

No response for 16 days