ComfyUI Node
NNT File Data Loader
A ComfyUI node in NNT Neural Network Toolkit/Data Loading with 14 inputs and 4 outputs.
NNT File Data Loader
- data
- paired_data
- info_message
- batch_size
◄data_sourcenumpy►
◄data_dir/tmp/ComfyUI/models/nnt_datasets►
◄file_pattern*.npy►
◄data_typefloat32►
◄normalizeTrue►
◄normalize_range0-1►
◄batch_firstTrue►
◄shuffleFalse►
◄image_channels3►
◄image_size224►
◄image_interpolationbilinear►
◄use_cacheTrue►
◄paired_data_dir►
◄paired_file_pattern►
CategoryNNT Neural Network Toolkit/Data Loading
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| data_source | COMBO | numpy | 6 options: txt, numpy, python_pickle, image_folder, image_text_pairs, text_text_pairs |
| data_dir | STRING | /tmp/ComfyUI/models/nnt_datasets | — |
| file_pattern | STRING | *.npy | — |
| data_type | COMBO | float32 | 7 options: float32, float64, int32, int64, uint8, bool, +1 |
| normalize | COMBO | True | 2 options: True, False |
| normalize_range | COMBO | 0-1 | 3 options: 0-1, -1-1, standardize |
| batch_first | COMBO | True | 2 options: True, False |
| shuffle | COMBO | False | 2 options: True, False |
| image_channels | INT | 31–4 | — |
| image_size | INT | 22416–2048 | — |
| image_interpolation | COMBO | bilinear | 3 options: nearest, bilinear, bicubic |
| use_cache | COMBO | True | 2 options: True, False |
| paired_data_diropt | STRING | — | |
| paired_file_patternopt | STRING | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| data | TENSOR | — |
| paired_data | TENSOR | — |
| info_message | STRING | — |
| batch_size | INT | — |