标题: Syntax error in input! LexToken [打印本页] 作者: 510 时间: 2022-3-21 22:07 标题: Syntax error in input! LexToken 想问一下这个错误应该怎么解决
Syntax error in input! LexToken(NAMED_IDENTIFIER,'str',5,237)
done
--> Building model
W Genreate input meta fail, please check model.
W External input meta file "C:\Users\OUZHAN~1\AppData\Local\Temp\tmpewbxkipj\CNN_weight120ptjit_inputmeta.yml" is not exists.
Traceback (most recent call last):
File "C:/Users/OuZhanHong/Desktop/U-Net_multiclass/pttorknn.py", line 31, in <module>
ret = rknn.build(do_quantization=False,pre_compile=False, dataset='./torknn.txt')
File "D:\anaconda3\envs\rknn\lib\site-packages\rknn\api\rknn.py", line 240, in build
ret = self.rknn_base.build(do_quantization=do_quantization, dataset=dataset, pack_vdata=pre_compile, batch_size=rknn_batch_size)
File "rknn\api\rknn_base.py", line 791, in rknn.api.rknn_base.RKNNBase.build
File "rknn\api\rknn_base.py", line 2328, in rknn.api.rknn_base.RKNNBase._generate_inputmeta
IndexError: list index out of range