{# Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. #} {% extends "job.html" %} {% from "helper.html" import serve_file %} {% macro print_job_information() %}

Job Information

Job Directory
{{ job.dir() }}
Image Dimensions
{{job.image_dims[1]}}x{{job.image_dims[0]}} (Width x Height)
Image Type
{{'Color' if job.image_dims[2] == 3 else 'Grayscale'}}
Resize Transformation
{{ job.resize_mode_name() }}
DB Backend
{{job.get_backend()}}
Image Encoding
{{job.get_encoding()}}
DB Compression
{{job.get_compression()}}
Dataset size
{{job.disk_size_fmt()}}
{% endmacro %} {% macro print_parse_folder_task(task) %}

{{task.name()}}

Folder
{{task.folder}}
{% if task.label_count %}
Number of Categories
{{task.label_count}}
{% endif %} {% if task.train_count %}
Training Images
{{task.train_count}}
{% endif %} {% if task.val_count %}
Validation Images
{{task.val_count}} {% if task.percent_val != 0 and task.percent_val != 100 %} ({{task.percent_val}}%) {% endif %}
{% endif %} {% if task.test_count %}
Test images
{{task.test_count}} {% if task.percent_test != 0 and task.percent_test != 100 %} ({{task.percent_test}}%) {% endif %}
{% endif %}
{% endmacro %} {% macro print_create_db_task(task) %}

{{task.name()}}

Input File{{' (before shuffling)' if task.shuffle }}
{{serve_file(task, task.input_file)}}
{% if task.create_db_log_file %}
DB Creation log file
{{serve_file(task, task.create_db_log_file)}}
{% endif %} {% if task.entries_count %}
DB Entries
{{task.entries_count}}
{% endif %}
{# Category distribution graph #} {% if task.distribution_data() %} {% endif %} {# Mean image #} {% if task.status=='D' and task.mean_file %} {% endif %} {# Exploration #} {% if task.backend=='lmdb' %} {% if task.status=='D' %} {% endif %} {% endif %}
{% endmacro %} {% block job_content %} {% if job.parse_folder_tasks()|length == 1 %} {% set task = job.parse_folder_tasks()[0] %}
{{ print_job_information() }}
{{ print_parse_folder_task(task) }}
{% else %}
{{ print_job_information() }}
{% if job.parse_folder_tasks()|length == 2 %}
{% set task = job.parse_folder_tasks()[0] %}
{{ print_parse_folder_task(task) }}
{% set task = job.parse_folder_tasks()[1] %}
{{ print_parse_folder_task(task) }}
{% elif job.parse_folder_tasks()|length == 3 %}
{% set task = job.parse_folder_tasks()[0] %}
{{ print_parse_folder_task(task) }}
{% set task = job.parse_folder_tasks()[1] %}
{{ print_parse_folder_task(task) }}
{% set task = job.parse_folder_tasks()[2] %}
{{ print_parse_folder_task(task) }}
{% endif %} {% endif %} {% for task in job.create_db_tasks() %}
{{ print_create_db_task(task) }}
{% endfor %} {% endblock %}