首页 PaddleSlim 帖子详情
slim.quant.quant_aware TypeError: __init__() got an unexpected keyword argument 'quantizable_op_type'
收藏
快速回复
PaddleSlim 问答量化 1556 2
slim.quant.quant_aware TypeError: __init__() got an unexpected keyword argument 'quantizable_op_type'
收藏
快速回复
PaddleSlim 问答量化 1556 2

paddlepaddle:1.6.3
paddleslim:0.1.0
cpu
windows
when i do training quantization using official sample code, the error occured.
error:
Traceback (most recent call last):
File "D:/project/paddleslim/mninst_train.py", line 43, in
quant_program = slim.quant.quant_aware(train_program, exe.place, for_test=False)
File "D:\install\python3.7\lib\site-packages\paddleslim\quant\quanter.py", line 146, in quant_aware
skip_pattern=config['not_quant_pattern'])
TypeError: init() got an unexpected keyword argument 'quantizable_op_type'

0
收藏
回复
全部评论(2)
时间顺序
aistudio_2222
#3 回复于2021-05

mark

0
回复
n
nicebdhoho
#4 回复于2021-05

paddle的版本很老了哦,建议升级新版本,再做尝试

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户