In this PR I'm suggesting to add some changes I made while working on the drug target interaction (DTI) task - which is still in progress.
Changes:
Added more functionality to some Ops
Additional documentation & small fixes
Small modification to the NDict's ndict. print_tree() function so it will also print the key values (useful for printing nitely hydra's cfg objects!). @egozi
I used it just before moving to ClearML (which saves the hyperparams) and still using it in times I don't want to log into ClearML.
Other different use cases might be found.
Hey!
In this PR I'm suggesting to add some changes I made while working on the drug target interaction (DTI) task - which is still in progress.
Changes:
ndict. print_tree()
function so it will also print the key values (useful for printing nitely hydra's cfg objects!). @egoziExample for
.print_tree()
's output:BEFORE CHANGES:
AFTER CHANGES:
Example where it is useful to print
NDict
's values:Lets take hydra's cfg object in our pipeline.
We can define the following function:
and then use it with:
To get the config printed in to the console as (please ignore the values themselves):
I used it just before moving to ClearML (which saves the hyperparams) and still using it in times I don't want to log into ClearML. Other different use cases might be found.