peal.web.analysis.quick_accuracy

peal.web.analysis.quick_accuracy(job_dir, device=None)[source]

Write <job_dir>/accuracy.json: the classifier’s accuracy on all uploaded images, overall and per class, before DiDAE starts. It is the first thing the job page shows, so a wrong normalization, input size or output order shows up in seconds instead of after the sweep.