{# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. #} {# Skip this if testing the scheduler because the url_for won't work #} {% if job.job_type() != 'Job For Testing' %} {# Base the choice between models_show and datasets_show on the last work in the job_type. This is fragile. #} {% set list = job.job_type().split(' ') %} {% set show_func = 'digits.model.views.show' if list[-1] == 'Model' else 'digits.dataset.views.show' %} {% set show_url = url_for(show_func, job_id=job.id()) %} {% set abort_url = url_for('digits.views.abort_job', job_id=job.id()) %} {% else %} {% set show_url = '' %} {% set abort_url = '' %} {% endif %}

{{ job.name() }}

{{job.id()}} {{job.status_history[0][1]|print_time}} {{job.status.name}} {% if job|attr("train_task") %} {% set combined_graph_data = job.train_task().combined_graph_data() %} {% if combined_graph_data %} {% endif %} {% endif %}
{% set percentage = (100*job.get_progress())|round|int %}
{{percentage}}%
{% if job | has_permission('abort') %} {% endif %} {% if job | has_permission('delete') %} {% endif %}