ComfyUI Node
NNT Dataset To Target Tensor
A ComfyUI node in NNT Neural Network Toolkit/Data Processing with 15 inputs and 4 outputs.
NNT Dataset To Target Tensor
- dataset
- target_tensor
- info
- label_info
- collated_outputs
◄target_columnlabel►
◄target_typeclassification►
◄num_classes10►
◄use_data_collatorTrue►
◄paddingmax_length►
◄pad_to_multiple_of8►
◄return_tensorspt►
◄encodingsparse►
◄label_smoothing0.10►
◄create_label_mapsTrue►
◄custom_label_map{}►
◄detach_tensorTrue►
◄requires_gradFalse►
◄make_cloneTrue►
CategoryNNT Neural Network Toolkit/Data Processing
Inputs (15)
| Name | Type | Default | Description |
|---|---|---|---|
| dataset | DATASET | — | |
| target_column | STRING | label | — |
| target_type | COMBO | classification | 3 options: classification, regression, multi_label |
| num_classes | INT | 102–1000 | — |
| use_data_collator | COMBO | True | 2 options: True, False |
| padding | COMBO | max_length | 3 options: max_length, longest, do_not_pad |
| pad_to_multiple_of | INT | 81–128 | — |
| return_tensors | COMBO | pt | 2 options: pt, tf |
| encoding | COMBO | sparse | 3 options: sparse, one_hot, label_smooth |
| label_smoothing | FLOAT | 0.100–0.5 | — |
| create_label_maps | COMBO | True | 2 options: True, False |
| custom_label_map | STRING | {} | — |
| detach_tensor | COMBO | True | 2 options: True, False |
| requires_grad | COMBO | False | 2 options: True, False |
| make_clone | COMBO | True | 2 options: True, False |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| target_tensor | TENSOR | — |
| info | STRING | — |
| label_info | DICT | — |
| collated_outputs | DICT | — |