diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-23 12:25:46 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-23 12:25:46 -0500 |
commit | ca92314f00cb41c3d9d2976cfc819b359d53cda1 (patch) | |
tree | 7489a3b7c477809ed6db310a499d5545118efe10 /src/main.c | |
parent | 23e665000e876f9ff8b521a060b0cdb7e58287cb (diff) |
add: basic configuration parsing implemented
parameters implemented:
- input_keys
- label_keys
- epochs
- labels
- weights_path
Network weights and architecture loading is not implemented yet.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -92,9 +92,10 @@ int main(int argc, char *argv[]) { struct Configs ml_configs = { .epochs = 100, .alpha = 1e-5, - .config_filepath = "utils/config.yml", + .config_filepath = "utils/ml.cfg", }; - util_load_config(&ml_configs); + + util_load_config(&ml_configs, ml_configs.config_filepath); util_load_cli(&ml_configs, argc, argv); return 0; } |