Skip to content

What If tool returning error #238

@guruvittal

Description

@guruvittal

Hi,

When trying to run the WIT, the model oredict function returns an error, when we click the predict button:
TypeError('array([34.62574], dtype=float32) has type numpy.ndarray, but expected one of: int, float')

Notebook having this issue: https://github.com/PAIR-code/what-if-tool/blob/master/WIT_Age_Regression.ipynb

I was able to simulate with another model as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions