I am trying to reproduce a pipeline from github. Since the Idea is to reproduce it, I don't want to change the code. Onde of the scripts ask for hyperparameters to be passed as a dictionary, as in
-p {'param1' : 'p1', 'param1' : 'p2' ...} and so forth. These parameters are processed with argparse.
I have a long list of parameters. Is it possible to pass the dictionary of hyperparameters as a file?
Thanks!
If you don't want to modify the original script at all, you can create a wrapper script that reads the parameters from a JSON (let's call it params.json) and then calls the original script with these parameters.
and pass it using: