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

NGCF index out of bounds #13

Open
theconsolelogger opened this issue Nov 6, 2019 · 0 comments
Open

NGCF index out of bounds #13

theconsolelogger opened this issue Nov 6, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@theconsolelogger
Copy link
Collaborator

NGCF produces an index out of bounds error on line:

weight_initializer([self.weight_size_list[k], self.weight_size_list[k+1]]), name='W_gc_%d' % k)

IndexError: index 2 is out of bounds for axis 0 with size 2

Screenshot_2019-11-06 Untitled(2)

Properties are set to the following:

[DEFAULT]
data.input.path=neurec
data.input.dataset=ml-100k.rating
data.column.format=UIRT
data.convert.separator='\t'
data.convert.binarize.threshold=0
data.splitter=loo
data.splitterratio=[0.8,0.2]|float
rec.number.thread=20
rec.evaluate.neg=0
recommender=ngcf
topk=[10, 20, 30, 40]|int
gpu_id=0

epochs=500
batch_size=512
embedding_size=16
layer_size=[16,16]|int
learning_rate=0.001
node_dropout_flag=False
adj_type=norm
alg_type=ngcf
loss_function=BPR
learner=adam
reg=0.0
node_dropout_ratio=0.1
mess_dropout_ratio=0.1
#tnormal: truncated_normal_initializer, uniform: random_uniform_initializer,
#normal: random_normal_initializer, xavier_normal, xavier_uniform, 
#he_normal, he_uniform. Defualt: tnormal
embed_init_method=xavier_normal
weight_init_method=xavier_normal
stddev=0.01
verbose=1
@theconsolelogger theconsolelogger added the bug Something isn't working label Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants