Unanswered
Hey,
I Have Many Python Files.
In The First Python File I Use The Following Line.
Parameters = Task.Connect(Input)
Now I Change The Hyperparameters On The Graphical Interface.
But Now I Need The Hyperparameters In Every Python File.
How Do I Have Access T
Well, I connected a dictionary of params that needed to be accessible in the GUI via task.connect
using a loop, where I was filtering that dictionary:
for k, v in config_dict.items(): if k not in ['element1', 'element2']: task.connect(v, name=k.lower())
It seemed more logical to return the params with a single call:
task_parameters = task.get_parameters_as_dict()
167 Views
0
Answers
3 years ago
one year ago