peal.web.summarize¶
After a job’s run_didae.py subprocess exits, condense its run directory into <job>/results.json for the results page:
python -m peal.web.summarize <job_dir>
Reads run/sweep_results.pt (the direction ranking), run/direction_feedback.txt (the uploader’s verdicts), run/direction_collages/** (the rendered counterfactual collages) and log.txt (accuracies), and lists the deliverables (run/model.onnx, run/model.cpl).
Functions
Condense a finished web-demo job into |