{# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. #} {% extends "job.html" %} {% block nav %}
  • {{model_job.name()}}
  • Classify Many
  • {% endblock %} {% block job_content %} {% if not classifications %}

    Classification failed, see job log

    {% endif %} {% if show_ground_truth %}

    Summary

    Top-1 accuracy
    {{top1_accuracy}}%
    Top-5 accuracy
    {{top5_accuracy}}%
    {% endif %} {% endblock %} {% block job_content_details %} {% if classifications %} {% if show_ground_truth %}

    Confusion matrix

    {% for label in labels %} {% endfor %} {% for row in confusion_matrix %} {% set label_idx = loop.index0 %} {% if per_class_accuracy[label_idx] is not none %} {% for column in row %} {% set column_idx = loop.index[0] %} {% endfor %} {% endif %} {% endfor %}
    {{label}}Per-class accuracy
    {{labels[label_idx]}}{{column}}{{per_class_accuracy[label_idx]}}%
    {% endif %}

    All classifications

    {% if show_ground_truth %}{% endif %} {% for path in paths %} {% set result = classifications[loop.index0] %} {% set ground_truth = ground_truths[loop.index0] %} {% if show_ground_truth %}{% endif %} {% for r in result %} {% endfor %} {% endfor %}
    PathGround truthTop predictions
    {{loop.index}} {{path}}{% if ground_truth is not none%}{{ground_truth}}{% endif %} {{r[0]}} {{r[1]}}%
    {% endif %} {% endblock %}