ComfyUI > Nodes > ComfyUI-HY-Motion1 > HY-Motion Save NPZ

ComfyUI Node: HY-Motion Save NPZ

Class Name

HYMotionSaveNPZ

Category
HY-Motion
Author
jtydhr88 (Account age: 0days)
Extension
ComfyUI-HY-Motion1
Latest Updated
2026-03-20
Github Stars
0.26K

How to Install ComfyUI-HY-Motion1

Install this extension via the ComfyUI Manager by searching for ComfyUI-HY-Motion1
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HY-Motion1 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

HY-Motion Save NPZ Description

Saves motion data as NPZ files for efficient storage and retrieval of complex motion datasets.

HY-Motion Save NPZ:

The HYMotionSaveNPZ node is designed to facilitate the saving of motion data into NPZ files, a format that efficiently stores multiple arrays in a single file. This node is particularly useful for AI artists working with motion capture data, as it allows for the organized storage of complex motion datasets, including 3D keypoints, rotations, translations, and other relevant metadata. By converting motion data into NPZ files, you can easily manage and retrieve motion sequences for further processing or analysis. The node ensures that each motion sequence is saved with a unique identifier, making it easy to track and reference specific datasets. This functionality is essential for projects that require precise motion data handling and storage, providing a streamlined workflow for managing large volumes of motion capture data.

HY-Motion Save NPZ Input Parameters:

motion_data

The motion_data parameter is the core input for this node, representing the motion capture data that you wish to save. This data typically includes 3D keypoints, rotation matrices, translations, and other motion-related information. The parameter is crucial as it determines the content of the NPZ files generated by the node. There are no specific minimum or maximum values for this parameter, as it depends on the motion data being processed. However, it is essential that the data is structured correctly to ensure successful saving.

output_dir

The output_dir parameter specifies the directory where the NPZ files will be saved. By default, this is set to "hymotion_npz", but you can customize it to any directory path that suits your project needs. This parameter impacts where the files are stored, allowing you to organize your motion data efficiently. There are no strict constraints on the directory path, but it should be a valid path within your file system.

filename_prefix

The filename_prefix parameter allows you to define a prefix for the filenames of the saved NPZ files. The default value is "motion", but you can change it to any string that helps you identify the files easily. This parameter is useful for categorizing or labeling your motion data files, especially when dealing with multiple datasets. The prefix will be followed by a timestamp and a unique identifier to ensure each file is distinct.

HY-Motion Save NPZ Output Parameters:

STRING

The output of the HYMotionSaveNPZ node is a string that contains the relative paths of the saved NPZ files. This output is important as it provides a quick reference to the locations of the saved files, which can be used for further processing or retrieval. The string lists each file path on a new line, making it easy to read and use in subsequent operations.

HY-Motion Save NPZ Usage Tips:

  • Ensure that your motion_data is correctly formatted and contains all necessary components like keypoints, rotations, and translations before using the node to save it.
  • Customize the output_dir and filename_prefix parameters to organize your saved files in a way that aligns with your project structure, making it easier to locate and manage your motion data.

HY-Motion Save NPZ Common Errors and Solutions:

DirectoryNotFoundError

  • Explanation: This error occurs if the specified output_dir does not exist and cannot be created.
  • Solution: Ensure that the directory path is valid and that you have the necessary permissions to create directories in the specified location.

InvalidMotionDataError

  • Explanation: This error arises when the motion_data input is not structured correctly or is missing required components.
  • Solution: Verify that your motion data includes all necessary fields such as keypoints, rotations, and translations, and that it adheres to the expected format.

FileSaveError

  • Explanation: This error indicates a failure in saving the NPZ file, possibly due to file system issues or insufficient disk space.
  • Solution: Check your file system for any issues, ensure there is enough disk space, and verify that you have write permissions in the specified output_dir.

HY-Motion Save NPZ Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HY-Motion1
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

HY-Motion Save NPZ