Nodes/ComfyUI Neural Network Toolkit NNT /NNT Training Hyperparameters
ComfyUI Node

NNT Training Hyperparameters

A ComfyUI node in NNT Neural Network Toolkit/Models with 20 inputs and 2 outputs.

By inventorado·Created 2 years ago·Updated 2 years ago· 69
NNT Training Hyperparameters
    • training_params
    • config_summary
    experiment_nametraining_experiment
    batch_size32
    epochs10
    optimizerAdam
    learning_rate0.0010
    weight_decay0.0001
    momentum0.9
    loss_functionCrossEntropyLoss
    reductionmean
    weight_enabledFalse
    class_weights[]
    margin0.0
    use_lr_schedulerTrue
    scheduler_typeReduceLROnPlateau
    scheduler_step_size3
    scheduler_gamma0.10
    min_lr0.0000
    use_early_stoppingTrue
    patience5
    min_delta0.0010
    CategoryNNT Neural Network Toolkit/Models

    Inputs (20)

    NameTypeDefaultDescription
    experiment_nameSTRINGtraining_experiment
    batch_sizeINT321–512
    epochsINT101–1000
    optimizerCOMBOAdam12 options: Adadelta, Adagrad, Adam, AdamW, SparseAdam, Adamax, +6
    learning_rateFLOAT0.00100.000001–1
    weight_decayFLOAT0.00010–0.1
    momentumFLOAT0.90–1
    loss_functionCOMBOCrossEntropyLoss21 options: L1Loss, MSELoss, CrossEntropyLoss, CTCLoss, NLLLoss, PoissonNLLLoss, +15
    reductionCOMBOmean3 options: mean, sum, none
    weight_enabledCOMBOFalse2 options: True, False
    class_weightsSTRING[]
    marginFLOAT0.0-1–1
    use_lr_schedulerCOMBOTrue2 options: True, False
    scheduler_typeCOMBOReduceLROnPlateau3 options: StepLR, ReduceLROnPlateau, CosineAnnealingLR
    scheduler_step_sizeINT31–100
    scheduler_gammaFLOAT0.100.01–1
    min_lrFLOAT0.00001e-7–0.1
    use_early_stoppingCOMBOTrue2 options: True, False
    patienceINT51–50
    min_deltaFLOAT0.00100.0001–0.1

    Outputs (2)

    NameTypeDescription
    training_paramsDICT
    config_summarySTRING