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

I got an error when running makedata.sh in a-mnist folder #1

Open
bilan-elaine-gao opened this issue Mar 14, 2024 · 0 comments
Open

Comments

@bilan-elaine-gao
Copy link

I got this error as below

Extracting ./data/MNIST/raw/t10k-labels-idx1-ubyte.gz to ./data/MNIST/raw

Traceback (most recent call last):
File "makedata.py", line 42, in
tc.save((shift_x, shift_y), filename)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 376, in save
with _open_file_like(f, 'wb') as opened_file:
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './data/MNIST/processed/train01_1.0_0.0_randn_5.0_1.0.pt'
Traceback (most recent call last):
File "makedata.py", line 42, in
tc.save((shift_x, shift_y), filename)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 376, in save
with _open_file_like(f, 'wb') as opened_file:
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './data/MNIST/processed/test01_0.5_0.5_randn_0.0_0.0.pt'
mv: cannot stat './data/MNIST/processed/test01_0.5_0.5_randn_0.0_0.0.pt': No such file or directory
Traceback (most recent call last):
File "makedata.py", line 42, in
tc.save((shift_x, shift_y), filename)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 376, in save
with _open_file_like(f, 'wb') as opened_file:
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/elaine/anaconda3/envs/python37/lib/python3.7/site-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './data/MNIST/processed/test01_0.5_0.5_randn_0.0_2.0.pt'

Anyone know how to deal with this?

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

1 participant