报错如下:
Traceback (most recent call last):
File "D:/Pycharm/PycharmProject/Py/ASTGCN-r-pytorch-master/ASTGCN-r-pytorch-master/prepareData.py", line 309, in <module>
data = np.load(graph_signal_matrix_filename)
File "D:\Anaconda3\envs\Pt1_6\lib\site-packages\numpy\lib\npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '../data/PEMS08/PEMS08.npz'
出错的代码段:
data = np.load(graph_signal_matrix_filename)
data['data'].shape
with contextlib.ExitStack() as stack:
if hasattr(file, 'read'):
fid = file
own_fid = False
else:
fid = stack.enter_context(open(os_fspath(file), "rb"))
own_fid = True
望大佬们解惑,真的不知道怎么改。救救孩子....