{% if model_name %}
Classify Images
with {{ model_name }}
{% else %}
Classify Images
with ANY models you put (really)
{% endif %}
Image
Your image size should not be over 200MB
Your file is selected. Let's upload & make a prediction!
Please select an image
Upload image
{% if img %}
Reset
Make a prediction
{% endif %}
{% if pred_result %}
Prediction:
{{ pred_result[0][0] }}
Top 3:
{% for class_name, prob in pred_result[:3] %}
{{ class_name }} : {{ "%.2f"|format(prob*100) }}%
{% endfor %} {% elif img %}
Received Image
{% endif %} {% if pred_result %}
GradCAM Heatmap On/Off
{% endif %}