From 0a0f36c871dbe800786d4e406c504ce8941a0b15 Mon Sep 17 00:00:00 2001 From: Guan-JW <15692276873@163.com> Date: Sat, 20 Feb 2021 14:29:55 +0800 Subject: [PATCH] add other parameters output --- recbole/config/configurator.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recbole/config/configurator.py b/recbole/config/configurator.py index 12642e8ba..0df0d4d42 100644 --- a/recbole/config/configurator.py +++ b/recbole/config/configurator.py @@ -334,6 +334,13 @@ def __str__(self): if arg in self.parameters[category] ]) args_info += '\n\n' + + args_info += 'Other Hyper Parameters: \n' + args_info += '\n'.join([ + "{}={}".format(arg, value) for arg, value in self.final_config_dict.items() + if arg not in sum(list(self.parameters.values()) + [['model', 'dataset', 'config_files']], []) + ]) + args_info += '\n\n' return args_info def __repr__(self):