Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-FL-YuE2 > FL YuE2 · Prepare Dataset

ComfyUI Node: FL YuE2 · Prepare Dataset

Class Name

FL_YuE2_PrepareDataset

Category
FL YuE2/Training
Author
filliptm (Account age: 2551days)
Extension
ComfyUI-FL-YuE2
Latest Updated
2026-09-17
Github Stars
0.13K

How to Install ComfyUI-FL-YuE2

Install this extension via the ComfyUI Manager by searching for ComfyUI-FL-YuE2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-FL-YuE2 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

FL YuE2 · Prepare Dataset Description

Facilitates alignment and preparation of audio datasets with lyrics and musical scores in FL YuE2 framework.

FL YuE2 · Prepare Dataset:

The FL_YuE2_PrepareDataset node is designed to facilitate the preparation of datasets for training purposes within the FL YuE2 framework. This node is particularly beneficial for users looking to align and prepare their audio datasets with corresponding lyrics and musical scores. It offers a streamlined process to ensure that all necessary components, such as vocals, lyrics, and musical scores, are properly aligned and ready for training. The node supports various configurations, allowing you to customize the preparation process according to your specific needs, such as aligning lyrics with recordings or planning scores for training. By automating these tasks, the node significantly reduces the manual effort required in dataset preparation, making it an essential tool for AI artists and developers working with audio datasets.

FL YuE2 · Prepare Dataset Input Parameters:

dataset

This parameter represents the dataset you wish to prepare. It is crucial as it forms the basis of the preparation process. The dataset should be in the YUE2_DATASET format, ensuring compatibility with the node's operations.

assets

Assets are additional resources required for the preparation process, such as training models and alignment tools. They are specified in the YUE2_TRAINING_ASSETS format and are essential for tasks like lyric alignment and score transcription.

align_lyrics

This boolean parameter determines whether the node should separate vocals and align reviewed lyrics to the recording. When set to True, it requires additional alignment models and increases preparation time. The default value is False.

cache_directory

This string parameter specifies the directory where prepared datasets will be stored. The default value is "prepared," and it is located inside the output/yue2_training directory. This parameter helps organize and manage the output files efficiently.

score_planning

This parameter allows you to choose the level of score planning for training. Options include "off," "melody," and "full." The default is "off," which means no score planning is applied. "Melody" expects a melody-only score, while "full" retains both melody and chords. This setting influences how the node processes musical scores during preparation.

transcribe_missing_scores

A boolean parameter that, when set to True, enables the use of the SheetSage2 tool to create missing ABC scores during preparation. This tool is licensed under CC BY-NC 4.0. The default value is False.

FL YuE2 · Prepare Dataset Output Parameters:

YUE2_PREPARED_DATASET

The output of this node is a prepared dataset in the YUE2_PREPARED_DATASET format. This dataset is ready for training and includes all necessary alignments and preparations as specified by the input parameters. It is a comprehensive package that ensures your data is optimally configured for subsequent training processes.

FL YuE2 · Prepare Dataset Usage Tips:

  • Ensure that your dataset and assets are in the correct format (YUE2_DATASET and YUE2_TRAINING_ASSETS) to avoid compatibility issues during preparation.
  • Utilize the align_lyrics option if your project requires precise synchronization between vocals and lyrics, but be prepared for longer processing times.
  • Consider using the score_planning feature to enhance your training data with musical scores, especially if your project involves melody or full musical compositions.

FL YuE2 · Prepare Dataset Common Errors and Solutions:

ValueError: Score planning must be off, melody or full

  • Explanation: This error occurs when an invalid option is provided for the score_planning parameter.
  • Solution: Ensure that the score_planning parameter is set to one of the valid options: "off," "melody," or "full."

Missing alignment models

  • Explanation: This error may occur if the align_lyrics option is enabled but the necessary alignment models are not available.
  • Solution: Verify that the required alignment models are included in the assets parameter and are correctly configured.

Directory creation failure

  • Explanation: This error can happen if the specified cache_directory cannot be created due to permission issues or invalid paths.
  • Solution: Check the path specified in the cache_directory parameter and ensure that the application has the necessary permissions to create directories in the specified location.

FL YuE2 · Prepare Dataset Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-FL-YuE2
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.

FL YuE2 · Prepare Dataset