DeepCTR
DeepCTR copied to clipboard
ESMM似乎不支持字符串类型sparse特征的输入??
Please refer to the FAQ in doc and search for the related issues before you ask the question.
Describe the question(问题描述) 当我用deepctr的ESMM输入sparseFeatwithDic的特征的时候,没办法解析此类特征,导致raise NotImplementedError("dnn_feature_columns can not be empty list") NotImplementedError: dnn_feature_columns can not be empty list。强行将feature——column.py重的input_from_feature_columns方法兼容sparseFeatwithDic,运行时embedding lookup会报错tensorflow.python.framework.errors_impl.UnimplementedError: Cast string to int32 is not supported。不知道是不是只有把特征处理成SparseFeat一条路了? Additional context Add any other context about the problem here.
Operating environment(运行环境):
- python version [e.g. 3.6]
- tensorflow version 2.5
- deepctr version master