ComfyUI > Nodes > ComfyUI-MiVolo-V2 > MiVOLO Predictor (from Crops)

ComfyUI Node: MiVOLO Predictor (from Crops)

Class Name

MiVOLOAgeGenderPredictorFromCrops

Category
MiVOLO/AgeGender
Author
deng-wei (Account age: 4184days)
Extension
ComfyUI-MiVolo-V2
Latest Updated
2025-11-20
Github Stars
0.02K

How to Install ComfyUI-MiVolo-V2

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

MiVOLO Predictor (from Crops) Description

Predicts age and gender from cropped face/body images using the MiVOLO model.

MiVOLO Predictor (from Crops):

The MiVOLOAgeGenderPredictorFromCrops node is designed to predict the age and gender of individuals from cropped images of faces and/or bodies. This node leverages the MiVOLO model to analyze the provided image crops and generate predictions about the individual's age and gender. It is particularly useful in scenarios where you have pre-cropped images of faces or bodies and want to obtain demographic information without the need for additional detection steps. The node's primary goal is to provide a straightforward and efficient method for extracting age and gender information from image crops, making it a valuable tool for AI artists and developers working on projects that require demographic analysis.

MiVOLO Predictor (from Crops) Input Parameters:

mivolo_model

The mivolo_model parameter is a required input that specifies the MiVOLO model to be used for prediction. This model contains the necessary configurations and weights to process the image crops and generate accurate age and gender predictions. The model must be pre-loaded and compatible with the MiVOLO framework to ensure proper functionality.

face_image

The face_image parameter is an optional input that allows you to provide a cropped image of a face for analysis. If provided, the node will use this image to enhance the accuracy of the age and gender predictions. The image should be in a format compatible with the MiVOLO model's image processor. If both face_image and body_image are omitted, the node will raise an error, as at least one image input is required.

body_image

The body_image parameter is another optional input that allows you to provide a cropped image of a body for analysis. Similar to the face_image, this input can improve the prediction accuracy by providing additional context. The image should be formatted correctly for the MiVOLO model's image processor. Providing either a face_image, a body_image, or both is necessary for the node to function.

MiVOLO Predictor (from Crops) Output Parameters:

prediction_text

The prediction_text output provides a human-readable description of the predicted age and gender, formatted as "a [age] year old [gender]". This output is useful for quickly understanding the demographic characteristics of the individual in the image crop.

age

The age output is a string representation of the predicted age of the individual in the image crop. This value is derived from the model's analysis and is rounded to the nearest integer for simplicity and clarity.

gender

The gender output is a string that indicates the predicted gender of the individual in the image crop. The gender is determined based on the model's classification and is mapped to a human-readable label using the model's configuration.

MiVOLO Predictor (from Crops) Usage Tips:

  • Ensure that the mivolo_model is properly loaded and compatible with the image crops you intend to analyze to achieve accurate predictions.
  • When possible, provide both face_image and body_image to improve the prediction accuracy, as the model can leverage more information from both inputs.
  • Pre-process your image crops to match the expected input format of the MiVOLO model's image processor to avoid errors and ensure optimal performance.

MiVOLO Predictor (from Crops) Common Errors and Solutions:

MiVOLO Predictor (from Crops): At least one input (face_image or body_image) must be provided.

  • Explanation: This error occurs when neither a face_image nor a body_image is provided to the node, which requires at least one image input to function.
  • Solution: Ensure that you provide at least one of the required image inputs (face_image or body_image) to the node before executing the prediction.

Failed to process image crops due to incompatible format.

  • Explanation: This error may arise if the provided image crops are not in a format compatible with the MiVOLO model's image processor.
  • Solution: Verify that your image crops are correctly formatted and pre-processed according to the requirements of the MiVOLO model's image processor. Adjust the image format if necessary.

MiVOLO Predictor (from Crops) Related Nodes

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