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

Resume downloads #54

Merged
merged 2 commits into from
Oct 2, 2015
Merged

Resume downloads #54

merged 2 commits into from
Oct 2, 2015

Conversation

bcipolli
Copy link
Contributor

During model download, my Internet connection was cut. On re-running models/download_models.sh, I noticed that:

  • Files that were downloaded fully got downloaded again.
  • Files that were incomplete got downloaded from scratch.

Adding the -c flag to wget works around each of these issues:

  • If a file has been downloaded fully, wget figures that out.
  • If a file needs to be resumed, wget resumes at the proper location.

I also noticed that downloaded files weren't ignored by git, so I added the models directory (excepting the download script) to .gitignore

jcjohnson added a commit that referenced this pull request Oct 2, 2015
@jcjohnson jcjohnson merged commit 42f83bc into jcjohnson:master Oct 2, 2015
@jcjohnson
Copy link
Owner

Thanks!

@bcipolli bcipolli deleted the resume_downloads branch October 2, 2015 22:10
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

Successfully merging this pull request may close these issues.

2 participants