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

Update flowvision download func #127

Merged
merged 6 commits into from
Jan 26, 2022
Merged

Update flowvision download func #127

merged 6 commits into from
Jan 26, 2022

Conversation

rentainhe
Copy link
Contributor

@rentainhe rentainhe commented Jan 25, 2022

TODO

  • Support downloading pretrained weight to ~/.oneflow/flowvision_cache
  • Add args to control if delete .zip file after unzip the pretrained weight
  • Support for redownloading after some interruption(optional)
  • Update ChangeLog

Summary

  • 支持下载预训练权重到cache文件夹下
  • 支持下载解压预训练权重后自动删除下载好的.zip或者.tar.gz文件
  • 支持打断下载后,可以在断点重新下载(optional),暂时没有想到特别好的办法,留到之后再解决
  • 不会重复下载

@rentainhe rentainhe changed the title support download file to cache Update flowvision download func Jan 25, 2022
kaijieshi7
kaijieshi7 previously approved these changes Jan 26, 2022
@kaijieshi7 kaijieshi7 merged commit ac97df0 into main Jan 26, 2022
@kaijieshi7 kaijieshi7 deleted the download_to_cache branch January 26, 2022 04:18
@rentainhe rentainhe self-assigned this Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants