settings.html 1.1 KB

12345678910111213141516171819202122232425
  1. {% extends "layout.html" %}
  2. {% block body %}
  3. <form action="{{ url_for('settings') }}" method="POST">
  4. <div class="form-group">
  5. <label for="model">Select Model To Use:</label>
  6. <select class="form-control" name="model" id="model">
  7. <option value="inception">Inception V3</option>
  8. <option value="resnet">Resnet50 (using bottleneck features as
  9. input)</option>
  10. </select>
  11. <p class="help-block">
  12. The Inception model takes longer to load since it's loading the
  13. whole architecture and weights but inference will be
  14. faster.<br/><br/>On the other hand, the Resnet50
  15. loads a smaller architecture but inference is slower because it
  16. needs to extract bottleneck features on the Keras Resnet50 model
  17. before doing predictions.
  18. </p>
  19. <label class="btn btn-primary">
  20. Submit<input type="submit" value="settings" style="display:
  21. none;">
  22. </label>
  23. </div>
  24. </form>
  25. {% endblock %}