docs
All checks were successful
build_docker / manifest_gpu (pull_request) Successful in 22s
build_docker / manifest_easyocr (pull_request) Successful in 22s
build_docker / manifest_doctr (pull_request) Successful in 21s
build_docker / manifest_easyocr_gpu (pull_request) Successful in 22s
build_docker / build_doctr_gpu (linux/arm64) (pull_request) Successful in 53m22s
build_docker / manifest_doctr_gpu (pull_request) Successful in 22s
build_docker / essential (pull_request) Successful in 0s
build_docker / build_cpu (linux/amd64) (pull_request) Successful in 4m47s
build_docker / build_cpu (linux/arm64) (pull_request) Successful in 22m37s
build_docker / build_gpu (linux/amd64) (pull_request) Successful in 19m40s
build_docker / build_easyocr (linux/amd64) (pull_request) Successful in 15m50s
build_docker / build_gpu (linux/arm64) (pull_request) Successful in 20m5s
build_docker / build_doctr (linux/amd64) (pull_request) Successful in 14m30s
build_docker / build_easyocr (linux/arm64) (pull_request) Successful in 19m45s
build_docker / build_easyocr_gpu (linux/amd64) (pull_request) Successful in 16m11s
build_docker / build_doctr (linux/arm64) (pull_request) Successful in 22m19s
build_docker / build_doctr_gpu (linux/amd64) (pull_request) Successful in 16m55s
build_docker / build_easyocr_gpu (linux/arm64) (pull_request) Successful in 54m50s
build_docker / manifest_cpu (pull_request) Successful in 24s

This commit is contained in:
2026-01-18 18:54:34 +01:00
parent e2cca72cf2
commit 458ff5d831
4 changed files with 161 additions and 11 deletions

View File

@@ -2,25 +2,31 @@
## Quick: Check Ray Tune Progress
**Current run:** PaddleOCR hyperparameter optimization via Ray Tune + Optuna.
- 64 trials searching for optimal detection/recognition thresholds
- 2 CPU workers running in parallel (Docker containers on ports 8001-8002)
- Notebook: `paddle_ocr_raytune_rest.ipynb``output_raytune.ipynb`
- Results saved to: `~/ray_results/trainable_paddle_ocr_2026-01-18_17-25-43/`
```bash
# Is it still running?
# Is papermill still running?
ps aux | grep papermill | grep -v grep
# View live log
tail -f papermill.log
# Count completed trials (64 total)
find ~/ray_results/trainable_paddle_ocr_2026-01-18_17-25-43/ -name "result.json" ! -empty | wc -l
# Find latest Ray Tune run and count completed trials
LATEST=$(ls -td ~/ray_results/trainable_* 2>/dev/null | head -1)
echo "Run: $LATEST"
COMPLETED=$(find "$LATEST" -name "result.json" -size +0 2>/dev/null | wc -l)
TOTAL=$(ls -d "$LATEST"/trainable_*/ 2>/dev/null | wc -l)
echo "Completed: $COMPLETED / $TOTAL"
# Check workers are healthy
curl -s localhost:8001/health | jq -r '.status'
curl -s localhost:8002/health | jq -r '.status'
for port in 8001 8002 8003; do
status=$(curl -s "localhost:$port/health" 2>/dev/null | python3 -c "import sys,json; print(json.load(sys.stdin).get('status','down'))" 2>/dev/null || echo "down")
echo "Worker $port: $status"
done
# Show best result so far
if [ "$COMPLETED" -gt 0 ]; then
find "$LATEST" -name "result.json" -size +0 -exec cat {} \; 2>/dev/null | \
python3 -c "import sys,json; results=[json.loads(l) for l in sys.stdin if l.strip()]; best=min(results,key=lambda x:x.get('CER',999)); print(f'Best CER: {best[\"CER\"]:.4f}, WER: {best[\"WER\"]:.4f}')" 2>/dev/null
fi
```
---