Skip to content

Index out of bounds #4

@Chuan-170515

Description

@Chuan-170515

user_num = 941, item_num = 1322
Traceback (most recent call last):
File "D:\code\LGRec\src\get_neighbor.py", line 54, in
user_embedding[i][j] = float(arr[j + 1])
IndexError: index 942 is out of bounds for axis 0 with size 942

I have reduced i, why is it still the same mistake?
Thank you for your answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions