From ca92314f00cb41c3d9d2976cfc819b359d53cda1 Mon Sep 17 00:00:00 2001 From: jvech Date: Wed, 23 Aug 2023 12:25:46 -0500 Subject: add: basic configuration parsing implemented parameters implemented: - input_keys - label_keys - epochs - labels - weights_path Network weights and architecture loading is not implemented yet. --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 0071426..7800495 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } -- cgit v1.2.3-70-g09d2