| # 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 | |