你好,torch1.2也遇到相同的错误
--》 config model
done
--》 Loading model
/home/user/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.。 Use node.outputs instead.
warnings.warn(message)
。/fire.pt ********************
WARNING: Token ‘COMMENT’ defined, but not used
WARNING: There is 1 unused token
Syntax error in input! LexToken(《,‘《’,3,101)
done
--》 Building model
W Genreate input meta fail, please check model.
W External input meta file “/tmp/tmpzzzps_ss/fire_inputmeta.yml” is not exists.
Traceback (most recent call last):
File “/home/user/wuzhe/fire/model_trans.py”, line 51, in 《module》
trans_model()
File “/home/user/wuzhe/fire/model_trans.py”, line 36, in trans_model
ret = rknn.build(do_quantization=True, dataset=‘。/dataset.txt’)
File “/home/user/.local/lib/python3.6/site-packages/rknn/api/rknn.py”, line 238, 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 719, in rknn.api.rknn_base.RKNNBase.build
File “rknn/api/rknn_base.py”, line 2249, in rknn.api.rknn_base.RKNNBase._generate_inputmeta
IndexError: list index out of range
你好,torch1.2也遇到相同的错误
--》 config model
done
--》 Loading model
/home/user/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.。 Use node.outputs instead.
warnings.warn(message)
。/fire.pt ********************
WARNING: Token ‘COMMENT’ defined, but not used
WARNING: There is 1 unused token
Syntax error in input! LexToken(《,‘《’,3,101)
done
--》 Building model
W Genreate input meta fail, please check model.
W External input meta file “/tmp/tmpzzzps_ss/fire_inputmeta.yml” is not exists.
Traceback (most recent call last):
File “/home/user/wuzhe/fire/model_trans.py”, line 51, in 《module》
trans_model()
File “/home/user/wuzhe/fire/model_trans.py”, line 36, in trans_model
ret = rknn.build(do_quantization=True, dataset=‘。/dataset.txt’)
File “/home/user/.local/lib/python3.6/site-packages/rknn/api/rknn.py”, line 238, 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 719, in rknn.api.rknn_base.RKNNBase.build
File “rknn/api/rknn_base.py”, line 2249, in rknn.api.rknn_base.RKNNBase._generate_inputmeta
IndexError: list index out of range
举报