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

我在用自己的数据执行的时候报这个错误,不知道是什么原因,所以想请教一下 #126

Open
zzzengzhe opened this issue Dec 22, 2022 · 0 comments

Comments

@zzzengzhe
Copy link

Generating neighbors for layer 0
0%| | 192/2136051 [00:00<?, ?it/s]
Traceback (most recent call last):
File "src/main_pytorch.py", line 287, in
average_auc, average_f1, average_pr = train_model(training_data_by_type, feature_dic)
File "src/main_pytorch.py", line 158, in train_model
neighbors = generate_neighbors(network_data, vocab, num_nodes, edge_types, neighbor_samples)
File "D:\GATNE-master\src\utils.py", line 241, in generate_neighbors
iy = vocab[y].index
KeyError: '65787'

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