You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, snapshot_download only works for model repos. It would be nice to add repo_type kwarg here and pass it along to the underlying functions to enable snapshot downloads of dataset repos.
I was playing around with upload_to_hub and load_from_hub functions for Hugging Pics' datasets when I ran into this. Just wanted to grab the entire repo and load images from there, but realized its not possible with snapshot_download.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently,
snapshot_download
only works formodel
repos. It would be nice to addrepo_type
kwarg here and pass it along to the underlying functions to enable snapshot downloads of dataset repos.Describe the solution you'd like
Describe alternatives you've considered
You can do this via
Repository
, but its more verbose. Also, a genericdownload_file_or_path
function may be nice too...(Related to #460 )Additional context
I was playing around with
upload_to_hub
andload_from_hub
functions for Hugging Pics' datasets when I ran into this. Just wanted to grab the entire repo and load images from there, but realized its not possible withsnapshot_download
.The text was updated successfully, but these errors were encountered: