shenweichen / DeepCTR-Torch

【PyTorch】Easy-to-use,Modular and Extendible package of deep-learning based CTR models.
https://deepctr-torch.readthedocs.io/en/latest/index.html
Apache License 2.0
2.95k stars 696 forks source link

How could I get PT file with DCN? #280

Open LegendChen-X opened 1 year ago

LegendChen-X commented 1 year ago

Please refer to the FAQ in doc and search for the related issues before you ask the question.

Describe the question(问题描述) When I try to use torch.jit.trace, it always give me the error "ValueError: embedding_dim of SparseFeat and VarlenSparseFeat must be same in this model!", but it works well by just do predict

Additional context Add any other context about the problem here.

Operating environment(运行环境):