hf_hub_download call does not increase the download counter
See original GitHub issueDescribe the bug
I have downloaded this model more than 100 times in the last week, but the counter shows 0 downloads: https://huggingface.co/fcakyon/yolov5s-v7.0
Can you tell me which request triggers the download counter? Does hf_hub_download
function trigger this counter?
Reproduction
Using yolov5 pypi package for downloading the model.
Here is the download code: https://github.com/fcakyon/yolov5-pip/blob/main/yolov5/utils/downloads.py#L131-L145
Logs
No response
System info
I have downloaded this model from windows 10 and ubuntu 18.04 with huggingface=hub==0.11.1.
Issue Analytics
- State:
- Created 9 months ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
PC not getting proper download speeds, but phone is
Hi, I have 15Mbps download speed and all this time the fastest speed I've seen it go is 1.3Mbps. Actually, the only time...
Read more >Increase Download Speed For Call Of Duty Cold War PC ...
Increase Download Speed For Call Of Duty Cold War PC Tutorial | Boost Blizzard Download SpeedsIn this Battle.net tutorial, I will be showing ......
Read more >How to Increase Download Speeds on Steam - groovyPost
Steam game downloads take time, so here are some tips you can try to increase your Steam download speeds.
Read more >java - Very slow download speeds with this code, any help ...
Try to increase the buffer size, it will reduce the amount of I/O operations and can make your application work faster. · Updating...
Read more >How to Boost Your Download Speed: 26 Easy Tricks That Work
1. The more files you try to download at once, the slower each file will download. Limit your downloads to one file at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@julien-c I have just added an automated hub upload function to the package and expect lots of yolov5 models to be published on the hub: https://github.com/fcakyon/yolov5-pip/releases
Original repo is not interested in adding PYPI support, Neptune.ai integration and other features so I am maintaining this package separately.
Maybe my package can be added with the name
yolov5-pip
into the community API instead of nameyolov5
.I opened an internal issue to make the “downloaded file spec” configurable in model cards (see https://github.com/huggingface/moon-landing/issues/4927 - internal link).
Let’s wait for @osanseviero 's feedback on how we could add yolov5 as a supported library. Otherwise, I’ll close this issue as it’s not exactly related to
huggingface_hub
(but will still keep you updated if the internal ticket is implemented).