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

Download miniimagenet error #163

Open
C1nDeRainBo0M opened this issue Oct 17, 2022 · 2 comments
Open

Download miniimagenet error #163

C1nDeRainBo0M opened this issue Oct 17, 2022 · 2 comments

Comments

@C1nDeRainBo0M
Copy link

I use google drive to download and finish.

miniimagenet
> mini-imagenet.tar.gz

dataset = miniimagenet(..., meta_train=True, download=True)

and i got,

NameError: name 'check_integrity' is not defined

how should i fix this error. thx.

@C1nDeRainBo0M
Copy link
Author

I use python=3.6, torch=1.9.0, torchvision = 0.10.0, torchmeta=1.8.

@C1nDeRainBo0M
Copy link
Author

I changed if os.path.isfile(fpath) and check_integrity(fpath, md5): in torchmeta\datasets\utils.py to if os.path.isfile(fpath):, then the program runs normally and generates subsequent files. The current output tensor is the correct shape. Is this the correct way to handle it?

I don't find def check_integrity(): in utils.py, is there something wrong with my version? Because I downloaded mini-imagenet.tar.gz manually, is it because this affects the correct operation of the program?

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