DeepASR运行aishell在执行数据分析的时候,函数引不进来
Created by: wshhja
在进行aishell数据分析步骤时,下面的import报错,找不到函数
// 文件路径 models/fluid/DeepASR/tools/profile.py
from data_utils.util import lodtensor_to_ndarray
报错信息如下:
// 执行命令 sh profile.sh,执行路径models/fluid/DeepASR/examples/aishell
Traceback (most recent call last):
File "../../tools/profile.py", line 19, in <module>
from data_utils.util import lodtensor_to_ndarray
ImportError: cannot import name lodtensor_to_ndarray