Skip to content

Missing icenet CLI training argument in template script #54

@bnubald

Description

@bnubald

IceNet version: v0.3.0_dev
Pipeline version: 0.3.0_dev

Getting an error when attempting training, the workers flag, -w seems to have been removed in icenet v0.3.0_dev which is causing this.

Pipeline script run:

./run_train_ensemble.sh -b $BATCH_SIZE -e 10 -f $FILTER_FACTOR -p $PREP_SCRIPT -q 4 ${TRAIN_DATA_NAME}_${HEMI} ${TRAIN_DATA_NAME}_${HEMI} ${FORECAST}_${HEMI}

Resulting in this error in the ensemble run:

usage: icenet_train_tensorflow [-h] [-o OUTPUT_PATH] [-v] [-b BATCH_SIZE]
                               [-ca CHECKPOINT_MODE] [-cm CHECKPOINT_MONITOR]
                               [-ds [ADDITIONAL ...]] [-e EPOCHS]
                               [--early-stopping EARLY_STOPPING] [-p PRELOAD]
                               [-r RATIO] [--shuffle-train] [--lr LR]
                               [--lr_10e_decay_fac LR_10E_DECAY_FAC]
                               [--lr_decay_start LR_DECAY_START]
                               [--lr_decay_end LR_DECAY_END] [-f FILTER_SIZE]
                               [-n N_FILTERS_FACTOR]
                               [-s {default,mirrored,central}] [-nw] [-wo]
                               [-wp WANDB_PROJECT] [-wu WANDB_USER]
                               dataset run_name seed
icenet_train_tensorflow: error: ambiguous option: -w could match -wo, -wp, -wu

@JimCircadian, looking through icenet v0.3.0_dev, removing -w seems intended, remove -w {{ run.ntasks }} in template here to fix?

https://github.com/icenet-ai/icenet-pipeline/blob/4f98699d819245fe1ed5d40d9c30b64d1efebfa5/ensemble/template/icenet_train.sh.j2#L40C171-L40C190

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions