Skip to content
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

add got incompatible shapes for broadcasting: (95,), (90,). #308

Open
Pavantejapenugonda opened this issue Mar 4, 2024 · 5 comments
Open

Comments

@Pavantejapenugonda
Copy link

Pavantejapenugonda commented Mar 4, 2024

I am getting this error when trying to predict. size of media_test_data is (5,3)
image

@MarkusStefan
Copy link

I got the exact same issue, seems as if the bug occurs due to a change in any dependency

@Pavantejapenugonda
Copy link
Author

Did the issue get fixed for you ? I am using below libraries
lightweight-mmm
numpyro

@MarkusStefan
Copy link

You can resolve it yourself by forcefully installing an older version of numpyro, i.e, run !pip numpyro == 0.13.2
They just released 0.14.0 today

@AkiroSR
Copy link

AkiroSR commented Apr 3, 2024

also install an older version of jax.
'jax.extend.linear_util' was removed in jax after 0.4.23 (currently in 0.4.25)
which is called by numpyro.

@fehiepsi
Copy link
Member

fehiepsi commented Apr 3, 2024

As a temporary fix, you can do

pip install --upgrade git+https://github.com/google/lightweight_mmm.git

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

4 participants