peal.web.jobs¶
Job store and the single-GPU worker of the web demo.
A job is a directory under the jobs root:
<root>/<job_id>/job.json status, form fields, timings <root>/<job_id>/model.onnx the (output-selected) uploaded classifier <root>/<job_id>/dataset/ imgs/{0,1} + data.csv <root>/<job_id>/config.yaml DiDAE config (+ data.yaml, generator.yaml) <root>/<job_id>/feedback/ WebFeedbackTeacher request/response files <root>/<job_id>/log.txt run_didae.py stdout/stderr <root>/<job_id>/run/ DiDAE base_dir <root>/<job_id>/results.json written by peal.web.summarize
One worker thread runs jobs strictly one after another (one GPU, one job), so the wait estimate is queue position x the median duration of recent jobs.
Module attributes
The adaptor prints a step marker per phase. |
|
Order of the |
Functions
The last meaningful line of a job log, for the "currently" display. |
|
The oldest request round without a response, or None. |
Classes