push/pull/status/fetch: improve progress bar
See original GitHub issueUbuntu: 18.04 dvc: 0.22.0
I added dvc later to an already existing project like so:
dvc add data
dvc run -d data -d train.py -o model -f train.dvc --no-exec train.py ...
(where data and model are directories with lots of image-files resp. big ML-models)
I’ve added a remote S3, commited dvc-files into git and when calling:
dvc push
dvc hangs at “20% Collecting information”
Calling dvc push -v
provides lots of
Debug: SELECT * from state WHERE inode=1576004
Debug: fetched: [(1576004, '1544624726428000000', '449ec1c0d6beeadb55b6b4808ce41ec7', '1544630970012086784')]
Debug: Inode '1576004', mtime '1544624726428000000', actual mtime '1544624726428000000'.
Debug: UPDATE state SET timestamp = "1544630972341281280" WHERE inode = 1576004
... and the last log-output is:
Debug: File '/home/blabla/.dvc/cache/44/9ec1c0d6beeadb55b6b4808ce41ec7', md5 '449ec1c0d6beeadb55b6b4808ce41ec7', actual '449ec1c0d6beeadb55b6b4808ce41ec7'
Debug: Path /home/blabla/.dvc/cache/07/270488711c768df5ad02185cb81493 inode 1576007
Debug: SELECT * from state WHERE inode=1576007
Debug: fetched: [(1576007, '1544624727832000000', '07270488711c768df5ad02185cb81493', '1544630970013530368')]
Debug: Inode '1576007', mtime '1544624727832000000', actual mtime '1544624727832000000'.
Debug: UPDATE state SET timestamp = "1544630972343799552" WHERE inode = 1576007
Debug: File '/home/blabla/.dvc/cache/07/270488711c768df5ad02185cb81493', md5 '07270488711c768df5ad02185cb81493', actual '07270488711c768df5ad02185cb81493'
Debug: File '/home/blabla/.dvc/cache/ea/ad01785397a0a43a25cf21fb816b8e', md5 'eaad01785397a0a43a25cf21fb816b8e', actual 'None'
[###### ] 20% Collecting information
What’s going wrong here?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to improve this dynamic progress bar code
The idea is to change progressBar2 to make it usable inside Module without necessity to call Dynamic and Print. I've seen this similar...
Read more >How To Make A Progress Bar In Davinci Resolve - YouTube
Progress bars are a great tool for increasing viewer retention with social media videos. They're super easy to create no matter what editor ......
Read more >Increase the time on the progress bar - Stack Overflow
I have a website that does subtitle translation but before translating the subtitle progress bar finishes loading and shows a download ...
Read more >ARIA: progressbar role - Accessibility - MDN Web Docs
The progressbar role defines an element that displays the progress status for tasks that take a long time.
Read more >Progress Bars in Online Forms - How to Get Them Right
Increase satisfaction levels: appeal to a user's drive to complete a task; Supply customer insight: set up the right analytics and you'll see...
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 Free
Top 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
I had the same problem: paused for 2h+.
One workaround for now (thanks to Ruslan on Discord): specify no-cache, and then compress to a single file (which dvc is then happy with), push, and decompress.
tar still takes a while, of course, but it eventually works.
@stvogel Glad it worked eventually 😃 Let’s keep this open until we at least improve information messages(e.g. might add an additional progress bar or just modify the current one to be more informative).