Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello, I'M Diego. I'M Training Nns Using Clearml. I'Ve Had Some Problems When Cloning Experiments And Changing Hyper Params. My Train Script Loads 

Hello, I'm Diego. I'm training NNs using ClearML. I've had some problems when cloning experiments and changing hyper params. My train script loads  params  from a json file and then connects them to the task. The code has the following structure:

` # imports
(...)
with open(args.params) as fid:
params = json.load(fid)

some params.setdefault()

params.setdefault('exp','My Training')
params.setdefault('batch_size', 32)
(...)

task_name = params['exp']

dataset = Dataset.get(dataset_name=params['dataset'], dataset_project='My Datasets')
dataset_dir = dataset.get_local_copy()
df_train = pd.read_pickle(op.join(dataset_dir, 'df_train.pkl'))
df_test = pd.read_pickle(op.join(dataset_dir, 'df_val.pkl'))

task = Task.init(task_name=task_name,
project_name='My Project',
reuse_last_task_id=False,
auto_connect_streams=False)

task.connect(params)
train_dnn(df_train, df_test, params) `
The problem is that when I clone an experiment and change the hyper params some change and some remain the same as the original ones. I have also deleted some hyper-params but they appear again when training starts.

  
  
Posted 3 years ago
Votes Newest

Answers 3


Hi JitteryRaven85

I have also deleted some hyper-params but they appear again when training starts.

Yes you cannot "delete" parameters, as any missing parameter is synced back (making sure you have a full log).

The problem is that when I clone an experiment and change the hyper params some change and some remain the same

Could you expand on which parameters stay the same ? (obviously this should not happen)

  
  
Posted 3 years ago

Now in case I needed to do it, can I add new parameters to cloned experiment or will these get deleted?

Adding new parameters is supported 🙂

  
  
Posted 3 years ago

I think the problem was just deleting the hyper-params, I got confused with the ones I had deleted and the ones I had changed.
Now in case I needed to do it, can I add new parameters to cloned experiment or will these get deleted?

  
  
Posted 3 years ago
853 Views
3 Answers
3 years ago
one year ago
Tags