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

import deepctr_torch error #269

Closed CFZhai closed 1 year ago

CFZhai commented 1 year ago

When I try to import deepctr_torch, the local kernel will die and automatically restart.
WX20230118-145751@2x

image

My local PC is Macbook air M2 2022. memory 16G

But When I switch to the online server (google colab), it is imported successfully.

zanshuxun commented 1 year ago

When I try to import deepctr_torch, the local kernel will die and automatically restart.

Try this again in a terminal instead of the jupyter notebook, then check the result.

CFZhai commented 1 year ago

If I try it in a terminal, it also returns error

image
CFZhai commented 1 year ago

I just figure out the problem is due to the Tensorflow compilation. When I follow the instruction of https://www.youtube.com/watch?v=5DgWvU0p2bk and reinstall the deepctr_torch. I successfully import all packages. But I encounter a new problem , which is I can't update my deepctr_torch to the latest version. ('0.2.9'), Now it is '0.2.2' after using pip install -U deepctr-torch