Skip to content

media-generation-kit-cli Assertion failed: (input_params.dim[j] == output_params.dim[j]) #1

@ekt1701

Description

@ekt1701

The Terminal command:
media-generation-kit-cli generate --model flux_2_klein_4b_q6p.ckpt --width 512 --height 768 --image robot.png --prompt "Add a Cowboy hat to the robot" --output "robot_cowboy.png"

Results in the error:
Assertion failed: (input_params.dim[j] == output_params.dim[j]), function _ccv_cnnp_concat_build, file ccv_cnnp_model_addons.c, line 391.

This is related to the command --image

Without the command --image, it will generate an image
media-generation-kit-cli generate --model flux_2_klein_4b_q6p.ckpt --width 512 --height 768 --prompt "Add a Cowboy hat to the robot" --output "robot_cowboy.png"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions