slim.quant.quant_aware TypeError: __init__() got an unexpected keyword argument 'quantizable_op_type'
收藏
slim.quant.quant_aware TypeError: __init__() got an unexpected keyword argument 'quantizable_op_type'
收藏
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'