Visit ComfyUI Online for ready-to-use ComfyUI environment
Duplicate latent samples to increase batch size, useful for data augmentation and processing tasks, handles metadata propagation.
The RepeatLatentBatch
node is designed to duplicate latent samples a specified number of times, effectively increasing the batch size of the latent data. This can be particularly useful in scenarios where you need to augment the amount of data for further processing or analysis. By repeating the latent samples, you can ensure that the subsequent operations have a larger dataset to work with, which can be beneficial for tasks that require more extensive data input. The node also handles associated metadata such as noise masks and batch indices, ensuring that all relevant information is correctly propagated through the repeated samples.
This parameter represents the latent samples that you want to repeat. It is a dictionary containing the latent data and any associated metadata such as noise masks and batch indices. The latent samples are the core data that will be duplicated by the node.
This parameter specifies the number of times the latent samples should be repeated. It is an integer value with a default of 1, a minimum of 1, and a maximum of 64. Increasing this value will proportionally increase the batch size of the latent data, allowing for more extensive data augmentation.
The output is a dictionary containing the repeated latent samples along with any associated metadata. The latent data will be duplicated according to the specified amount, and the metadata such as noise masks and batch indices will be adjusted accordingly to ensure consistency.
amount
parameter to the desired number of repetitions. This can be particularly useful for data augmentation in machine learning tasks.batch_index
or length
exceeds the dimensions of the input latent samples.batch_index
and length
parameters are within the valid range of the input latent samples' dimensions.amount
of repetitions.© Copyright 2024 RunComfy. All Rights Reserved.