Skip to content

Commit

Permalink
Merge pull request #725 from Guan-JW/0.2.x
Browse files Browse the repository at this point in the history
FEA: Add other parameters output to Configurator.py
  • Loading branch information
chenyushuo authored Feb 20, 2021
2 parents 7187c5e + 0a0f36c commit 6dd32f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recbole/config/configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6dd32f7

Please sign in to comment.