Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行python run_recbole_pjf.py -m PJFNN -d zhilian提示TypeError: 'NoneType' object is not subscriptable #27

Open
whhgithub1216 opened this issue Aug 21, 2024 · 3 comments

Comments

@whhgithub1216
Copy link

File "F:\python\RecBole-PJF-main\recbole_pjf\data\utils.py", line 140, in create_samplers_for_multi_direction
if eval_neg_sample_args['distribution'] != 'none':
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable,请问要怎么解决这个问题

@dhyuk54
Copy link

dhyuk54 commented Oct 23, 2024

python run_recbole_pjf.py -m [model] -d [dataset]
你的-d 的dataset 输入参数 输入的对吗?

@hjhjhjh535
Copy link

文件“F:\python\RecBole-PJF-main\recbole_pjf\data\utils.py”,第 140 行,在 create_samplers_for_multi_direction 中 if eval_neg_sample_args['distribution'] != 'none': ~~~~~~~~~~ ~~~~~~~~~~^^^^^^^^^^^^^^^^^ TypeError: 'NoneType' 对象不是可订阅,请怎么解决这个问题

您好,我也遇到了这个问题,请问您解决了吗

@Cola-kk
Copy link

Cola-kk commented Dec 17, 2024

需要修改overall.yaml文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants