| general: | |
| project_name: tf_flowers | |
| logs_dir: logs | |
| saved_models_dir: saved_models | |
| global_seed: 127 | |
| gpu_memory_limit: 5 | |
| operation_mode: chain_tqe | |
| model: | |
| model_name: mobilenetv2_a035 | |
| input_shape: (224, 224, 3) | |
| pretrained: True | |
| dataset: | |
| dataset_name: tf_flowers | |
| class_names: | |
| - daisy | |
| - dandelion | |
| - roses | |
| - sunflowers | |
| - tulips | |
| training_path: image_classification/datasets/flower_photos | |
| validation_path: null | |
| validation_split: 0.2 | |
| test_path: null | |
| quantization_path: null | |
| quantization_split: 0.2 | |
| seed: 127 | |
| preprocessing: | |
| rescaling: | |
| scale: 1/127.5 | |
| offset: -1 | |
| resizing: | |
| interpolation: nearest | |
| aspect_ratio: fit | |
| color_mode: rgb | |
| data_augmentation: | |
| random_contrast: | |
| factor: 0.6 | |
| random_brightness: | |
| factor: 0.15 | |
| random_rectangle_erasing: | |
| nrec: (0, 6) | |
| area: (0.0, 0.1) | |
| wh_ratio: (0.25, 4.0) | |
| fill_method: mosaic | |
| mode: batch | |
| change_rate: 0.05 | |
| random_flip: | |
| mode: horizontal | |
| random_translation: | |
| width_factor: 0.3 | |
| height_factor: 0.3 | |
| fill_mode: wrap #reflect | |
| interpolation: nearest | |
| random_rotation: | |
| factor: 0.125 | |
| fill_mode: wrap #reflect | |
| interpolation: nearest | |
| random_zoom: | |
| width_factor: 0.25 | |
| height_factor: 0.25 | |
| fill_mode: wrap #reflect | |
| interpolation: nearest | |
| random_shear: | |
| factor: 0.15 | |
| fill_mode: wrap | |
| interpolation: nearest | |
| random_gaussian_noise: | |
| stddev: (0.0001, 0.005) | |
| training: | |
| frozen_layers: None | |
| dropout: 0.9 | |
| batch_size: 64 | |
| epochs: 1000 | |
| optimizer: | |
| Adam: | |
| learning_rate: 0.0001 | |
| callbacks: | |
| ReduceLROnPlateau: | |
| monitor: val_accuracy | |
| patience: 30 | |
| factor: 0.5 | |
| EarlyStopping: | |
| monitor: val_accuracy | |
| mode: max | |
| restore_best_weights: true | |
| patience: 100 | |
| quantization: | |
| quantizer: TFlite_converter | |
| quantization_type: PTQ | |
| quantization_input_type: uint8 | |
| quantization_output_type: float | |
| export_dir: quantized_models | |
| tools: | |
| stedgeai: | |
| optimization: balanced | |
| on_cloud: True | |
| path_to_stedgeai: C:/ST/STEdgeAI/<x.y>/Utilities/windows/stedgeai.exe | |
| path_to_cubeIDE: C:/ST/STM32CubeIDE_<*.*.*>/STM32CubeIDE/stm32cubeide.exe | |
| benchmarking: | |
| board: STM32H747I-DISCO | |
| deployment: | |
| c_project_path: ../application_code/image_classification/ | |
| IDE: GCC | |
| verbosity: 1 | |
| hardware_setup: | |
| serie: STM32H7 | |
| board: STM32H747I-DISCO | |
| input: SPI_CAMERA | |
| output: USB_DISPLAY | |
| mlflow: | |
| uri: ./tf/src/experiments_outputs/mlruns | |
| hydra: | |
| run: | |
| dir: ./tf/src/experiments_outputs/${now:%Y_%m_%d_%H_%M_%S} | |