Visit ComfyUI Online for ready-to-use ComfyUI environment
Save torch tensors (images, masks, latent representations) to disk for debugging and analysis outside ComfyUI.
The Save Tensors (mtb) node is designed to save torch tensors, such as images, masks, or latent representations, to disk. This functionality is particularly useful for debugging purposes outside of the ComfyUI environment. By saving these tensors, you can inspect and analyze them using external tools, which can help in understanding the behavior of your AI models and workflows. The node provides a straightforward way to export tensors with a specified filename prefix, ensuring that you can easily organize and retrieve the saved data for further examination.
The filename_prefix
parameter allows you to specify a prefix for the filenames of the saved tensors. This helps in organizing and identifying the saved files. The default value is "ComfyPickle", but you can change it to any string that suits your naming conventions.
The image
parameter is an optional input where you can provide an image tensor that you want to save. This tensor represents the image data that will be written to disk.
The mask
parameter is an optional input for providing a mask tensor. This tensor represents the mask data that will be saved to disk, allowing you to debug and analyze mask-related operations.
The latent
parameter is an optional input for providing a latent tensor. This tensor represents latent data, which can be saved to disk for further analysis and debugging of latent space manipulations.
This node does not produce any output parameters.
filename_prefix
to easily identify and organize your saved tensors.on_mismatch
parameter is set to "Error".on_mismatch
parameter to handle shape mismatches appropriately.© Copyright 2024 RunComfy. All Rights Reserved.