Skip to content

error in function evaluate_preds in model_3 #700

@AgeBeeTen

Description

@AgeBeeTen

Hi,
I run into the below-mentioned error when I execute line

model_3_results = evaluate_preds(y_true=tf.squeeze(test_labels), y_pred=model_3_preds)

InvalidArgumentError: {{function_node _wrapped__Sub_device/job:localhost/replica:0/task:0/device:CPU:0}} Incompatible shapes: [552] vs. [552,7] [Op:Sub] name:

Any ideas what's going on here ? For me it seems that the multi-dimensionality is not covered in function 'evaluate_preds'.

Thanks for an help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions