aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
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;
}
Feel free to download, copy and edit any repo