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

关于_read_triplets_diff中configs['data']['entity_num']的计算问题 #54

Open
cqsss opened this issue Jan 6, 2025 · 0 comments
Open

Comments

@cqsss
Copy link

cqsss commented Jan 6, 2025

data_utils/data_handler_kg.py中第81行
configs['data']['entity_num'] = max(max(triplets[:, 0]), max(triplets[:, 1])) + 1
是否应该改为
configs['data']['entity_num'] = max(max(triplets[:, 0]), max(triplets[:, 2])) + 1

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

1 participant