Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.47 KB

SINARA_1.1.2_MIGRATION_GUIDE.md

File metadata and controls

41 lines (27 loc) · 1.47 KB

You should bring your notebook (substep) to the view:

Example: image

In order to make this follow the steps below please:

  1. Remove pipeline_params and step_params . image

    Leave only substep_params with the corresponding comment:

    # specify substep parameters for interactive run
    # this cell will be replaced during job run with the parameters from json within params subfolder
    substep_params={}
    
  2. Add a cell with the code right after substep_params cell

    # load pipeline and step parameters - do not edit
    from sinara.substep import get_pipeline_params, get_step_params
    pipeline_params = get_pipeline_params(pprint=True)
    step_params = get_step_params(pprint=True)
    
  3. Remove default_params_values from substep interface image

    Example:

    image

  4. (Optional) Bring the parameters that should be accessible across substeps (steps) into step_params.json

    Example:

    image

    Hint: Here we declare train_params, which is needed across substeps of model_train step.