HKUST-KnowComp / DualMessagePassing

Source Code for AAAI 2022 paper "Graph Convolutional Networks with Dual Message Passing for Subgraph Isomorphism Counting and Matching"
MIT License
23 stars 5 forks source link

run evaluate.py have a problem #1

Closed Faker0715 closed 2 years ago

Faker0715 commented 2 years ago

Traceback (most recent call last): File "/home/faker/Desktop/code/DualMessagePassing-main/SubgraphCountingMatching/evaluate.py", line 439, in eval_metric, eval_results = evaluate_epoch( File "/home/faker/Desktop/code/DualMessagePassing-main/SubgraphCountingMatching/evaluate.py", line 119, in evaluate_epoch pred_c, (pred_v, pred_e), ((p_v_mask, p_e_mask), (g_v_mask, g_e_mask)) = model(pattern, graph) ValueError: too many values to unpack (expected 3)

seanliu96 commented 2 years ago

Hi,

Thanks for creating an issue for evaluation. I fix this bug by removing the old functions. Please check the latest commit 275fab88447b991fcba0b457b9f3b275905816cc.

Faker0715 commented 2 years ago

thank you!

seanliu96 commented 2 years ago

If this bug has been fixed, please help close this issue. Thank you!