Skip to content

Static analysis error #93

@Chutlhu

Description

@Chutlhu

I have the following pipeline to create hparam space:

tasks:
  - source: scripts/2_make_hparams.sh
    product:
      data: products/configs/config-[[config]].yaml
    name: model_hparams-
    static_analysis: disable
    grid:
      - config: 'nn'
      - config: 'sp'
        sp_smoothing: [1e-6, 1e-5, 1e-4]

with related shell file:

config={{config}}

echo "config: $config"

if [ $config == "nn" ]; then
    echo "No params"
    ### DO STUFF
elif [ $config == "sp" ]; then
    sp_smoothing={{sp_smoothing}}
    ### DO STUFF
else
    echo "config not recognized"
    exit 1
fi

I am experiencing the following error:

TypeError: __init__() got an unexpected keyword argument 'static_analysis'

Without static_analysis, I have error because some parameters are not defined. Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions