tsinghua-fib-lab / Spatio-temporal-Diffusion-Point-Processes

A diffusion-based framework for spatio-temporal point processes
55 stars 4 forks source link

line 254 error #3

Closed wen-ye-xwz closed 3 months ago

wen-ye-xwz commented 7 months ago

Hi! It seems that I always get

Traceback (most recent call last): File "Spatio-temporal-Diffusion-Point-Processes/app.py", line 254, in assert real.shape == sampled_seq_temporal_all.shape AttributeError: 'list' object has no attribute 'shape'

In line 257 and 267, the two variables does not seem to be defined either. (mae_spatial_mean, rmse_temporal_mean)

when I try to run the script. It would be great if you could fix that. Thank you!

YuanYuan98 commented 7 months ago

sampled_seq_temporal_all is just for additional testing in my own experiments. I have updated app.py, please refer to it again.

computer-q commented 7 months ago

Hello, may I ask why the Crime data has not been processed and run. I would appreciate it if you could let me know.

YuanYuan98 commented 3 months ago

I have uploaded the Crime dataset. The original data can be obtained via the Atlanta Police Department.

computer-q commented 3 months ago

我已经上传了犯罪数据集。原始数据可以通过亚特兰大警察局获得。

Thank you very much.