chengtan9907 / OpenSTL

OpenSTL: A Comprehensive Benchmark of Spatio-Temporal Predictive Learning
https://openstl.readthedocs.io/en/latest/
Apache License 2.0
776 stars 129 forks source link

report an issue when install on Windows #147

Open gaojiawei321 opened 3 months ago

gaojiawei321 commented 3 months ago

When I install OpenSTL on Windows as suggested:

I got a bug when running: python tools/train.py -d mmnist --lr 1e-3 -c configs/mmnist/simvp/SimVP_gSTA.py --ex_name mmnist_simvp_gsta

As: File "c:\users\admin\openstl\openstl\datasets\dataloader_moving_mnist.py", line 95, in init self.dataset = load_fixed_set(root, data_name) File "c:\users\admin\openstl\openstl\datasets\dataloader_moving_mnist.py", line 59, in load_fixed_set dataset = np.load(path) File "C:\Users\admin\anaconda3\envs\OpenSTL\lib\site-packages\numpy\lib\npyio.py", line 462, in load raise ValueError("Cannot load file containing pickled data " ValueError: Cannot load file containing pickled data when allow_pickle=False

I got these data on C:\Users\admin\OpenSTL\data\, but seems the data_root is wrong. It's dispirited that Windows is not supported. Is there any method to solve this problem?

Thanks a lot in advance.

chengtan9907 commented 1 month ago

I think it is an error from Numpy, right? You may need to check the numpy version or the data path.

PengCSUFT commented 1 month ago

Try unzipping the file using the command instead of manually unzipping it.