config.py 1.0 KB

12345678910111213141516171819202122232425262728
  1. # api variables
  2. DIRAN_DOMAIN_NAME = "https://diran.univ-littoral.fr/"
  3. GET_SCENE_QUALITIES_API_URL = DIRAN_DOMAIN_NAME + "api/listSceneQualities?sceneName={0}"
  4. GET_SCENE_IMAGE_API_URL = DIRAN_DOMAIN_NAME + "api/getImage?sceneName={0}&imageQuality={1}"
  5. GET_SCENES_API_URL = DIRAN_DOMAIN_NAME + "api/listScenes"
  6. # folder variables
  7. model_expe_folder = "expes_models/{0}/{1}"
  8. output_expe_folder = "expes_results"
  9. output_expe_folder_name_day = "expes_results/{0}/{1}"
  10. output_tmp_folder = "tmp"
  11. # expes list
  12. expe_name_list = ["quest_one_image"]
  13. # configure experiences labels
  14. expes_configuration = {
  15. 'quest_one_image':{
  16. 'text':{
  17. 'question': "Do you see one image or a composition of more than one?",
  18. 'indication': "press left if you see one image, right if not",
  19. 'end_text': "Experience is finished. Thanks for your participation",
  20. },
  21. 'params':{
  22. 'iterations': 5
  23. }
  24. }
  25. }