UniVidX • Task Mode:
The UniVidXTaskMode node is designed to facilitate the selection of task modes within the UniVidX framework, which is crucial for ensuring that the chosen mode aligns with the model variant being used. This node provides a user-friendly dropdown interface that allows you to choose from a set of predefined task modes, categorized into "intrinsic" and "alpha" families. The primary purpose of this node is to output a tuple containing the selected mode and its corresponding family, which is then used by the sampler to validate compatibility with the loaded model variant. This validation step is essential to prevent mismatches that could lead to errors during the execution of video processing tasks. By streamlining the mode selection process, the UniVidXTaskMode node enhances the efficiency and reliability of workflows within the UniVidX ecosystem.
UniVidX • Task Mode Input Parameters:
mode
The mode parameter is a critical input that allows you to select one of the available task modes from a predefined list. This list is a combination of INTRINSIC_MODES and ALPHA_MODES, which represent different categories of tasks that can be performed within the UniVidX framework. The selection of a mode determines the type of processing that will be applied to the video data, and it is essential for ensuring that the task mode is compatible with the model variant being used. The default value for this parameter is "t2RAIN", which is one of the available task modes. By choosing the appropriate mode, you can tailor the processing to meet specific requirements and achieve the desired results.
UniVidX • Task Mode Output Parameters:
UNIVIDX_TASK
The UNIVIDX_TASK output parameter is a tuple consisting of the selected mode string and its associated family, either "intrinsic" or "alpha". This output is crucial for the subsequent steps in the workflow, as it is used by the sampler to verify that the selected task mode is compatible with the loaded model variant. The family designation helps categorize the task mode, ensuring that the processing aligns with the capabilities and requirements of the model. By providing this output, the UniVidXTaskMode node plays a vital role in maintaining the integrity and coherence of the video processing pipeline.
UniVidX • Task Mode Usage Tips:
- Ensure that the selected
modeis compatible with the model variant you are using to avoid compatibility issues during processing. - Familiarize yourself with the different task modes available in the
INTRINSIC_MODESandALPHA_MODESlists to make informed decisions about which mode best suits your needs.
UniVidX • Task Mode Common Errors and Solutions:
Task mode <mode> is family=<family>, but loaded model is <variant>.
- Explanation: This error occurs when there is a mismatch between the family of the selected task mode and the variant of the loaded model.
- Solution: Verify that the task mode you have selected belongs to the same family as the model variant you are using. Adjust the mode selection to ensure compatibility.
