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

thank you for yourc code . but i can not download the dataset, .sh profile i can not conduct. can you tell the address of the datasets? #17

Open
me-sonandme opened this issue Apr 27, 2020 · 1 comment

Comments

@me-sonandme
Copy link

No description provided.

@MTynes
Copy link

MTynes commented Aug 11, 2020

If you're using Google Colab or a .py file, you can use something like this:

data_dir='/content/protonets/data/omniglot/data'
!mkdir -p {data_dir}
!wget -O images_background.zip https://github.com/brendenlake/omniglot/blob/master/python/images_background.zip?raw=true
!wget -O images_evaluation.zip https://github.com/brendenlake/omniglot/blob/master/python/images_evaluation.zip?raw=true
!unzip images_background.zip -d {data_dir}
!unzip images_evaluation.zip -d {data_dir}
!mv {data_dir}/images_background/* {data_dir}/
!mv {data_dir}/images_evaluation/* {data_dir}/
!rmdir {data_dir}/images_background
!rmdir {data_dir}/images_evaluation

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

2 participants