tsinghua-fib-lab / CLSR

The official implementation of "Disentangling Long and Short-Term Interests for Recommendation" (WWW '22)
MIT License
70 stars 19 forks source link

Bug in model SLIREC #12

Closed xuhao-anhe closed 2 years ago

xuhao-anhe commented 2 years ago

Thank u for your contribution When I use SLIREC to do comparative experiments, It has the following error: command i used: python sequential.py --dataset taobao --model SLIREC

File "sequential.py", line 350, in main model = get_model(flags_obj, model_path, summary_path, user_vocab, item_vocab, cate_vocab, train_num_ngs) File "sequential.py", line 116, in get_model counterfactual_recent_k=flags_obj.counterfactual_recent_k, File "/home/wb415/miniconda3/envs/ly3.6/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 481, in getattr raise AttributeError(name) AttributeError: counterfactual_recent_k

What's the reason? Thank you for your attention!

DavyMorgan commented 2 years ago

Thanks for pointing this out! We have fixed it by removing the unused argument. Please check the latest codes.

xuhao-anhe commented 2 years ago

Thank you very much for your help. I also want to consult the kuaishou dataset. Can you provide a download link

DavyMorgan commented 2 years ago

Kuaishou dataset is a private industrial dataset. The release of it requires a process of internal review by the company, and it will be made public after the review process. Please use the Taobao dataset for now.

xuhao-anhe commented 2 years ago

ok, thank you very much.