0001AMA commited on
Commit
9f593b0
·
verified ·
1 Parent(s): 56a9cc8

Upload monitor_upload.sh with huggingface_hub

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