config.py 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import numpy as np
  2. zone_folder = "zone"
  3. output_data_folder = 'data'
  4. dataset_path = 'fichiersSVD_light'
  5. threshold_map_folder = 'threshold_map'
  6. models_information_folder = 'models_info'
  7. saved_models_folder = 'saved_models'
  8. min_max_custom_folder = 'custom_norm'
  9. learned_zones_folder = 'learned_zones'
  10. correlation_indices_folder = 'corr_indices'
  11. csv_model_comparisons_filename = "models_comparisons.csv"
  12. seuil_expe_filename = 'seuilExpe'
  13. min_max_filename_extension = "_min_max_values"
  14. config_filename = "config"
  15. models_names_list = ["svm_model","ensemble_model","ensemble_model_v2","deep_keras"]
  16. # define all scenes values
  17. renderer_choices = ['all', 'maxwell', 'igloo', 'cycle']
  18. scenes_names = ['Appart1opt02', 'Bureau1', 'Cendrier', 'Cuisine01', 'EchecsBas', 'PNDVuePlongeante', 'SdbCentre', 'SdbDroite', 'Selles']
  19. scenes_indices = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I']
  20. maxwell_scenes_names = ['Appart1opt02', 'Cuisine01', 'SdbCentre', 'SdbDroite']
  21. maxwell_scenes_indices = ['A', 'D', 'G', 'H']
  22. igloo_scenes_names = ['Bureau1', 'PNDVuePlongeante']
  23. igloo_scenes_indices = ['B', 'F']
  24. cycle_scenes_names = ['EchecBas', 'Selles']
  25. cycle_scenes_indices = ['E', 'I']
  26. normalization_choices = ['svd', 'svdn', 'svdne']
  27. zones_indices = np.arange(16)
  28. metric_choices_labels = ['lab', 'mscn', 'low_bits_2', 'low_bits_3', 'low_bits_4', 'low_bits_5', 'low_bits_6','low_bits_4_shifted_2', 'sub_blocks_stats', 'sub_blocks_area', 'sub_blocks_stats_reduced', 'sub_blocks_area_normed', 'mscn_var_4', 'mscn_var_16', 'mscn_var_64', 'mscn_var_16_max', 'mscn_var_64_max', 'ica_diff', 'svd_trunc_diff', 'ipca_diff', 'svd_reconstruct', 'highest_sv_std_filters', 'lowest_sv_std_filters', 'highest_wave_sv_std_filters', 'lowest_wave_sv_std_filters', 'filters_statistics']
  29. keras_epochs = 500
  30. keras_batch = 32