-
Notifications
You must be signed in to change notification settings - Fork 7
Description
您好!我执行SEAL出 现以下错误:positive examples: 2126, negative examples: 2126.
X: one-hot vertex tag, tag size 1.
embedding feature has considered
Traceback (most recent call last):
File "main.py", line 22, in
seal_for_link_predict()
File "main.py", line 19, in seal_for_link_predict
classifier(args.data, args.is_directed, args.test_ratio, args.dimension, args.hop, args.learning_rate, epoch=args.epoch)
File "D:\phy\SEAL\seal_link_predict.py", line 280, in classifier
graphs_adj, labels, vertex_tags, node_size_list, sub_graphs_nodes, embedding_feature, None, tags_size)
File "D:\phy\SEAL\seal_link_predict.py", line 264, in create_input_for_gnn_fly
X[i] = np.concatenate([X[i], sub_graph_emb[i]], axis=1)
File "<array_function internals>", line 6, in concatenate
ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 0, the array at index 0 has size 2 and the array at index 1 has size 5,应该如何解决呢?谢谢!