Visit ComfyUI Online for ready-to-use ComfyUI environment
Efficiently save latent data representations in Numpy format for AI artists working with machine learning models.
The SaveLatentNumpy node is designed to save latent representations of data in the Numpy file format (.npy). This node is particularly useful for AI artists who work with latent spaces in machine learning models, as it allows for the efficient storage and retrieval of these latent representations. By saving the latent data, you can easily reuse it in future projects, share it with collaborators, or analyze it further. The node ensures that the saved files are organized and named systematically, making it easier to manage large collections of latent data.
This parameter represents the latent data that you want to save. It is expected to be in the format of a dictionary with a key "samples"
containing the latent tensor. The latent data is typically generated by other nodes in your workflow and contains the compressed representation of your input data.
This parameter allows you to specify a prefix for the filename under which the latent data will be saved. The default value is "latents/ComfyUI"
, but you can customize it to better organize your files. The prefix helps in categorizing and identifying the saved files, especially when dealing with multiple projects or versions.
This output parameter provides the name of the file where the latent data has been saved. It includes the full path and the systematically generated filename, ensuring that you can easily locate and access the saved latent data. The filename is generated based on the provided prefix and a counter to avoid overwriting existing files.
samples
parameter contains valid latent data in the expected format to avoid errors during the saving process.filename_prefix
to organize your saved latent files by project, date, or any other categorization that suits your workflow.samples
parameter does not contain the expected dictionary with a key "samples"
.samples
parameter is a dictionary with a key "samples"
containing the latent tensor.filename_prefix
contains characters or patterns that result in an invalid file path.filename_prefix
, avoiding special characters that are not allowed in file paths.© Copyright 2024 RunComfy. All Rights Reserved.