{% extends 'bootstrap_base.html' %} {% from 'bootstrap/form.html' import render_field %} {% from 'bootstrap/form.html' import render_form %} {% block header %}

Task {{task_index | safe}} / {{task_total | safe}}

{% if current_task == 'calorie' %}

Given an image, highlighted concept in image and a calorie level for that image, you are asked to describe the relevance of observing such concept(s) to give that calorie level. Try to use your daily observation to make it easy to understand.

{% else %}

Given an image about places, you are asked to describe the relevance of observing such concept(s) like furnitures to predict the place. Try to use your daily observation to make it easy to understand. Attention, all concepts mentioned are general concepts instead of the instance in the image. The image is only for visualization.

{% endif %}
{% endblock %} {% block content %}
Responsive image

Task Description:

{{model_sent | safe}}

{% macro render_select_field(field, placeholder='Select...', label='Select an option below') %}
{% if field.errors %} {% for error in field.errors %} {{ error }} {% endfor %} {% endif %}
{% endmacro %} {% macro _hz_form_wrap(horizontal_columns, form_type, add_group=False, required=False) %} {% if form_type == "horizontal" %} {% if add_group %}
{% endif %}
{% endif %} {{ caller() }} {% endmacro %} {% macro render_radio_field(field, form_type="basic", horizontal_columns=('lg', 2, 10), button_map={}, button_style='', button_size='') %} {% if field.flags.required and not required in kwargs %} {% set kwargs = dict(required=True, **kwargs) %} {% endif %} {% set extra_classes = ' ' + field.render_kw.class if field.render_kw.class else '' %}
{{ field.label(class="form-control-label")|safe }}
{#% call _hz_form_wrap(horizontal_columns, form_type, True, required=required) %#} {% for item in field -%}
{{ item(class_="form-check-input")|safe }} {{ item.label(class="form-check-label", for=item.id)|safe }}
{% endfor %} {#% endcall %#} {%- if field.errors %} {%- for error in field.errors %}
{{ error }}
{%- endfor %} {%- elif field.description -%} {{ field.description|safe }} {%- endif %}
{% endmacro %}
{{form.hidden_tag()}} {{ render_field(form.template) }}

Template for analogy:

{# Empty, wait for backend data #}

Hints for task

Concept Grounding

Then fill in the text field below corresponding to the placeholders in template.

{{ render_field(form.concept_1) }} {{ render_field(form.concept_2) }}
{% endblock %}