Graph-Machine-Learning-Group / spin

Official repository for the paper "Learning to Reconstruct Missing Data from Spatiotemporal Graphs with Sparse Observations" (NeurIPS 2022)
https://arxiv.org/abs/2205.13479
MIT License
48 stars 8 forks source link

problem of trainer.fit() in run_imputain.py #15

Closed lcnnnn closed 5 days ago

lcnnnn commented 5 days ago

Hello, I encountered the error of ' 'method' object is not iterable' when i ran the run_imputation.py, i tried many methods, but none of them solved. Do you know the reason?

lcnnnn commented 5 days ago

i found the problem was in tsl.data.batch.py: for k in elem.keys: the elem.keys is actually the keys () method in the Data object, not an iterative object that can be iterated directly.