ognjenkundacina / graph-neural-network-state-estimation

gnn_se
5 stars 0 forks source link

KeyError:'voltage' #2

Closed zhangzee1999 closed 11 months ago

zhangzee1999 commented 11 months ago

image There is a problem, when I run train.py.

ognjenkundacina commented 11 months ago

Hello. Can you give more details step by step how to reproduce this? Are you running the code with your own dataset or with the example provided in this repository? Have you made any modifications to the code?

zhangzee1999 commented 11 months ago

I didn't change any code. when I test this program, the first py file generate_networkx_graphs.py can run directedly. but, the train.py can't run correctly.

ognjenkundacina commented 11 months ago

There was a problem in the generate_networkx_graphs.py, I've pushed the fix. Please let me know if it works correctly now.

zhangzee1999 commented 11 months ago

Thank you very much. Now, I've run this program and there is no problem for now.