Open SoulEvill opened 2 years ago
The same issue, how to make evaluation from a saved model?
I can see that model.predict() only accepts the input x....maybe a new predict_from_model function is needed?
@SoulEvill 1、我在python 3.8.8、torch 1.8.1、deepctr-torch 0.2.7下,未能复现出这个报错,是正常运行结束的,见下图。请您重新下载deepctr-torch重跑一下试试
2、combined_dnn_input
方法中,当sparse_embedding_list
和dense_value_list
均为空时,才会抛出NotImplementedError。请确认是否改动了run_classification_criteo.py中的feature columns导致这两部分均为空
The same issue, how to make evaluation from a saved model? I can see that model.predict() only accepts the input x....maybe a new predict_from_model function is needed?
What do you mean by a predict_from_model
function? When you use model.predict()
, the model
should be your saved model.
Discussed in https://github.com/shenweichen/DeepCTR-Torch/discussions/197