作者:手机用户26536338_53 | 来源:互联网 | 2023-09-09 16:24
from __future__ import google_type_annotations
I installed python 3.7 as it was suggested in this solution.
运行文件时出现以下错误。
Traceback (most recent call last):
File "run_classifier_with_tfhub.py",line 21,in
import classifier_utils
File "/ALberT/classifier_utils.py",line 19
from __future__ import google_type_annotations
^
SyntaxError: future feature google_type_annotations is not defined