0001AMA commited on
Commit
44aa0a1
·
verified ·
1 Parent(s): 0108474

Upload watch_progress.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. watch_progress.sh +40 -0
watch_progress.sh ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Real-time progress monitor
3
+ cd /Users/pd3rvr/Documents/pubs/THESIS/uploads/multimodal_data_annotator_dataset
4
+
5
+ while true; do
6
+ clear
7
+ echo "=========================================="
8
+ echo " HuggingFace Push Progress Monitor"
9
+ echo "=========================================="
10
+ echo ""
11
+ echo "Time: $(date '+%H:%M:%S')"
12
+ echo ""
13
+
14
+ # Check if process is running
15
+ if ps aux | grep -E "push_with_progress|git push" | grep -v grep > /dev/null; then
16
+ echo "✅ Push is RUNNING"
17
+ else
18
+ echo "⏸️ Push process not found"
19
+ fi
20
+ echo ""
21
+
22
+ # Show latest progress
23
+ echo "=== Latest Progress ==="
24
+ if [ -f push_progress.txt ]; then
25
+ tail -20 push_progress.txt
26
+ elif [ -f push_output.log ]; then
27
+ tail -20 push_output.log
28
+ else
29
+ echo "Waiting for progress updates..."
30
+ fi
31
+ echo ""
32
+
33
+ # Show git status
34
+ echo "=== Git Status ==="
35
+ git status --short 2>/dev/null | head -3 || echo "Checking..."
36
+ echo ""
37
+
38
+ echo "Press Ctrl+C to stop monitoring"
39
+ sleep 5
40
+ done