has no attribute 'scale_sub_region'
Created by: lezasantaizi
Traceback (most recent call last):
File "infer.py", line 126, in <module>
main()
File "infer.py", line 122, in main
infer()
File "infer.py", line 89, in infer
share_rnn_weights=args.share_rnn_weights)
File "/paddle/code/models/deep_speech_2/model_utils/model.py", line 46, in __init__
rnn_layer_size, use_gru, share_rnn_weights)
File "/paddle/code/models/deep_speech_2/model_utils/model.py", line 307, in _create_network
share_rnn_weights=share_rnn_weights)
File "/paddle/code/models/deep_speech_2/model_utils/network.py", line 263, in deep_speech_v2_network
index_range_datas=index_range_datas)
File "/paddle/code/models/deep_speech_2/model_utils/network.py", line 165, in conv_group
index_range_data=index_range_datas[0])
File "/paddle/code/models/deep_speech_2/model_utils/network.py", line 43, in conv_bn_layer
scale_sub_region = paddle.layer.scale_sub_region(
AttributeError: 'module' object has no attribute 'scale_sub_region'