Skip to content
Snippets Groups Projects
Unverified Commit cf50b1b4 authored by mweidling's avatar mweidling Committed by GitHub
Browse files

Implement further feedback (#12)

* feat: improve stdout logging

* feat: simplify mkdir usage

* fix: debug mode
parent 2519d84a
No related branches found
No related tags found
1 merge request!1Merge GitHub's state
...@@ -8,7 +8,7 @@ prepare-default-gt: ...@@ -8,7 +8,7 @@ prepare-default-gt:
docker compose exec app bash scripts/prepare.sh docker compose exec app bash scripts/prepare.sh
run: run:
if [ ! -d logs ]; then mkdir logs; fi mkdir -p logs
docker compose exec app bash workflows/execute_workflows.sh > logs/run_$$(date +"%s").log docker compose exec app bash workflows/execute_workflows.sh > logs/run_$$(date +"%s").log
stop: stop:
......
#!/bin/bash #!/bin/bash
mkdir gt mkdir -p gt
echo "Prepare OCR-D Ground Truth …" echo "Prepare OCR-D Ground Truth …"
......
...@@ -185,6 +185,8 @@ download_models ...@@ -185,6 +185,8 @@ download_models
create_wf_specific_workspaces create_wf_specific_workspaces
clean_up_tmp_dirs clean_up_tmp_dirs
uvicorn api:app --app-dir "$ROOT"/src & # start webserver for evaluation uvicorn api:app --app-dir "$ROOT"/src & # start webserver for evaluation
echo "Process is running. See logs at ./logs for more information."
execute_wfs_and_extract_benchmarks execute_wfs_and_extract_benchmarks
summarize_to_data_json summarize_to_data_json
final_clean_up final_clean_up
echo "All workflows have been run."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment