cyrildiagne / basnet-http

HTTP service wrapper for BASNet: Boundary-Aware Salient Object Detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error main.py

Eliot4 opened this issue · comments

File "main.py", line 54
logging.info(f'Completed in {time.time() - start:.2f}s')
^
SyntaxError: invalid syntax

Any ideas ?

Could be because of the formatted string.
Sorry forgot to mention it but, are you using Python v3.6+ ?

Thank you. I used an obsolete version of python

Great to hear, thanks!