Closed vikotse closed 4 years ago
Describe the bug(问题描述) run_sdm.py执行时deepctr依赖缺少SparseFeat
To Reproduce(复现步骤) 我没有安装deepctr的包,而是git clone了DeepCTR的库 DeepMatch/example/run_sdm.py中,from deepctr.inputs import SparseFeat, VarLenSparseFeat这一行,出现ImportError: cannot import name SparseFeat的问题。 我在翻阅DeepCTR/deepctr/inputs.py中,在其中也没有找到SparseFeat, VarLenSparseFeat。 请问是需要安装的deepctr包,与deepctr代码库不一致?
DeepMatch/example/run_sdm.py
from deepctr.inputs import SparseFeat, VarLenSparseFeat
ImportError: cannot import name SparseFeat的问题
DeepCTR/deepctr/inputs.py
SparseFeat, VarLenSparseFeat
Operating environment(运行环境):
Additional context Add any other context about the problem here.
排查到是deepctr版本问题,可忽略
Describe the bug(问题描述) run_sdm.py执行时deepctr依赖缺少SparseFeat
To Reproduce(复现步骤) 我没有安装deepctr的包,而是git clone了DeepCTR的库
DeepMatch/example/run_sdm.py
中,from deepctr.inputs import SparseFeat, VarLenSparseFeat
这一行,出现ImportError: cannot import name SparseFeat的问题
。 我在翻阅DeepCTR/deepctr/inputs.py
中,在其中也没有找到SparseFeat, VarLenSparseFeat
。 请问是需要安装的deepctr包,与deepctr代码库不一致?Operating environment(运行环境):
Additional context Add any other context about the problem here.