YuE2 训练歌曲风格:
The YuE2TrainStyle node is designed to facilitate the training of song style models within the YuE2 framework. This node is integral for users looking to develop and refine musical styles by leveraging the capabilities of the YuE2 system. It provides a streamlined process for both preprocessing and training, ensuring that users can efficiently manage their training projects. The node supports various actions, including preprocessing data, initiating new training sessions, or continuing existing ones. By confirming the materials and rights, users can ensure compliance and readiness for training, making the process both effective and legally sound. This node is particularly beneficial for AI artists and developers aiming to create unique musical styles, as it simplifies the complex task of model training into manageable steps.
YuE2 训练歌曲风格 Input Parameters:
training_run
This parameter specifies the training run to be used. It is crucial as it determines the dataset and configuration for the training process. The available choices are provided by the yue2_training_choices() function, which lists all the possible training runs that can be selected. This parameter directly impacts the model's learning process and the resulting style model.
action
The action parameter defines the operation to be performed by the node. It offers three options: "预处理并训练" (Preprocess and Train), "仅预处理" (Preprocess Only), and "训练或继续训练" (Train or Continue Training). The default action is "预处理并训练". This parameter allows users to control the workflow, whether they want to prepare data, start a new training session, or continue an existing one, thus providing flexibility in managing the training lifecycle.
confirmed_materials_and_rights
This is a boolean parameter that defaults to False. It requires users to confirm that they have verified the training and validation datasets and have the necessary rights to use them. This confirmation is essential to ensure that the training process is compliant with legal and ethical standards. Without this confirmation, the node will not proceed with the training, safeguarding against unauthorized use of materials.
YuE2 训练歌曲风格 Output Parameters:
style_model
The style_model output is of type YUE2_STYLE_MODEL. It represents the trained song style model resulting from the training process. This model can be used to generate music in the trained style, making it a valuable asset for creating unique musical compositions.
metadata
The metadata output is a STRING that contains information about the training process and results. This metadata provides insights into the training configuration, status, and any relevant details that can help users understand the context and outcomes of the training session.
YuE2 训练歌曲风格 Usage Tips:
- Ensure that all training materials and rights are confirmed before initiating the training process to avoid interruptions.
- Choose the appropriate action based on your current needs; use "预处理并训练" for a complete workflow or "仅预处理" if you only need to prepare data.
- Regularly check the metadata output to monitor the training progress and make informed decisions about future training sessions.
YuE2 训练歌曲风格 Common Errors and Solutions:
请先在工作台核对训练集、验证集与使用权利,再勾选确认
- Explanation: This error occurs when the
confirmed_materials_and_rightsparameter is not set toTrue. - Solution: Verify your training and validation datasets and ensure you have the necessary rights. Then, set the
confirmed_materials_and_rightsparameter toTrueto proceed.
YuE2 训练资源、MERT 模型尚未安装完整
- Explanation: This error indicates that the necessary training resources or MERT model are not fully installed.
- Solution: Ensure that all required resources and models are properly installed before attempting to train the style model.
连接的 YuE2 训练节点只完成了预处理,尚未产生歌曲风格模型
- Explanation: This error suggests that the preprocessing step was completed, but the style model has not been generated.
- Solution: Verify that the training process was initiated after preprocessing. If not, select the appropriate action to continue training and generate the style model.
