{# Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. #} {% extends "job.html" %} {% macro print_job_information() %}

Job Information

Job Directory
{{ job.dir() }}
Image Dimensions
{{job.image_dims[1]}}x{{job.image_dims[0]}}
Image Type
{{'Color' if job.image_dims[2] == 3 else 'Grayscale'}}
Resize Transformation
{{ job.resize_mode_name() }}
DB Backend
{{job.train_db_task().backend}}
Image Encoding
{{job.train_db_task().encoding}}
DB Compression
{{job.train_db_task().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 }}
{{task.input_file}}
{% if task.create_db_log_file %}
DB Creation log file
{{task.create_db_log_file}}
{% endif %} {% if task.entries_count %}
DB Entries
{{task.entries_count}}
{% endif %}
{% if task.distribution_data() %} {% if task.status=='D' %} {% if task.mean_file %} Image Mean: {% endif %} {% if task.backend=='lmdb' %}

Explore the db
{% endif %} {% 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 %}