ComfyUI Node

GridSearchTraining

A ComfyUI node in ETK/pytorch with 5 inputs and 3 outputs.

By TashaSkyUp·Created about a year ago·Updated about a year ago· 1
GridSearchTraining
  • model
  • dataset
  • features tensor
  • labels tensor
  • best_model
  • best_params
  • all_metrics
param_grid{"epochs": [1, 2], "batch_size": [32, 64], "loss_function": ["MSELoss", "CrossEntropyLoss"]}
CategoryETK/pytorch

Inputs (5)

NameTypeDefaultDescription
modelTORCH_MODEL
param_gridSTRING{"epochs": [1, 2], "batch_size": [32, 64], "loss_function": ["MSELoss", "CrossEntropyLoss"]}
datasetoptTORCH_DATASET
features tensoroptTORCH_TENSOR
labels tensoroptTORCH_TENSOR

Outputs (3)

NameTypeDescription
best_modelTORCH_MODEL
best_paramsDICT
all_metricsLIST