Skip to content

Inconsistent Input Size Error #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
crhea93 opened this issue Feb 5, 2021 · 1 comment
Open

Inconsistent Input Size Error #8

crhea93 opened this issue Feb 5, 2021 · 1 comment

Comments

@crhea93
Copy link

crhea93 commented Feb 5, 2021

Hello,
I have a simple test case where my input vector is 1d (1024 elements) and my response matrix is a 1024x1024 2d numpy array. I am receiving the following error when I apply fbu.run() after setting fbu.data and fbu.response**: AssertionError: Input Validation Error: inconstistent size of input**

However, the input size is not inconsistent with the response matrix. Do you know how to fix this?

@clementhelsens
Copy link

Hello @crhea93 ,

could you possibly add a small reproducer ?
The error you are getting is triggered here in case it helps:
https://github.com/pyFBU/fbu/blob/master/fbu/PyFBU.py#L52

Also the inputs are supposed to be json format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants