shenweichen / DSIN

Code for the IJCAI'19 paper "Deep Session Interest Network for Click-Through Rate Prediction"
https://arxiv.org/abs/1905.06482
Apache License 2.0
433 stars 132 forks source link

The code file "train_dsin.py" fails to run. #4

Closed Cobuild427 closed 4 years ago

Cobuild427 commented 5 years ago

Hi, I have set up the enviroment and generated the input data for the DSIN model following the instruction. But I still failed to the train the model executing "train_dsin.py". The error messages are in the attachment. Thank you for your time! issue

Cobuild427 commented 5 years ago

I revised the 152-th line in "2_gen_dsin_input.py", sess_input_dict[sess_name][feat], maxlen=SESS_COUNT, padding='post')) I have changed maxlen=SESS_COUNT to maxlen=DSIN_SESS_MAX_LEN, the previous bug was fixed, but here comes another error:

issue2

shenweichen commented 5 years ago

hi @Cobuild427 ,sorry for the mistake of DSIN_SESS_MAX_LEN. The Error of GPU Sync failed seems to be caused by the environment,you can google it and search for some solutions .