File size: 1,016 Bytes
9f593b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Real-time upload progress monitor
cd /Users/pd3rvr/Documents/pubs/THESIS/uploads/multimodal_data_annotator_dataset

echo "=== HuggingFace Upload Progress Monitor ==="
echo ""
echo "Press Ctrl+C to stop monitoring"
echo ""

while true; do
    clear
    echo "=========================================="
    echo "  Upload Progress - $(date '+%H:%M:%S')"
    echo "=========================================="
    echo ""
    
    # Check if process is running
    if ps aux | grep "upload_skip_existing.py" | grep -v grep > /dev/null; then
        echo "✅ Upload is RUNNING"
    else
        echo "⏸️  Upload process not found"
    fi
    echo ""
    
    # Show latest progress
    if [ -f upload_skip_progress.txt ]; then
        echo "=== Latest Progress ==="
        tail -30 upload_skip_progress.txt
    elif [ -f upload_run.log ]; then
        echo "=== Latest Progress ==="
        tail -30 upload_run.log
    else
        echo "Waiting for progress updates..."
    fi
    
    sleep 5
done