Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report an issue when install on Windows #147

Open
gaojiawei321 opened this issue Aug 14, 2024 · 2 comments
Open

report an issue when install on Windows #147

gaojiawei321 opened this issue Aug 14, 2024 · 2 comments

Comments

@gaojiawei321
Copy link

gaojiawei321 commented Aug 14, 2024

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
Copy link
Owner

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

@PengCSUFT
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants