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

Type-error #62

Open
AruunnAnanda opened this issue Sep 19, 2022 · 7 comments
Open

Type-error #62

AruunnAnanda opened this issue Sep 19, 2022 · 7 comments

Comments

@AruunnAnanda
Copy link

AruunnAnanda commented Sep 19, 2022

Hello there,

All of a sudden I've this type error. The code was running smooth until today morning, but when I tried to rerun the same script in the afternoon, I get the attached error. I tried deleting my virtual environment and, then reinstalling the package, but the same problem persists. Can you please let me know how can I rectify this issue?
Screenshot 2022-09-19 at 15 27 21

Thanks,
Arun

@WillianFuks
Copy link
Owner

Hi @AruunnAnanda ,

Could you please send your tensorflow, tensorflow-probability and tfcausalimpact versions?

Lately people have been reporting sudden issues and it seems to be related to newer versions of tf but we couldn't confirm it so far.

@AruunnAnanda
Copy link
Author

Hi @WillianFuks ,

Thanks for the prompt response.

Below are my versions :

  1. tensorflow : 2.10.0
  2. tensorflow-probability: 0.14.0
  3. tfcausalimpact : 0.0.11

image

@WillianFuks
Copy link
Owner

Just wondering, does it work for tensorflow==2.9.2?

@AruunnAnanda
Copy link
Author

Yes, it works well with tensorflow==2.9.2

Thanks!

@WillianFuks
Copy link
Owner

WillianFuks commented Sep 20, 2022

Thanks @AruunnAnanda for the reply. It seems that newer packages of tensorflow are incompatible with the required 0.14 version of tf-probability (this is something that I should fix soon).

I'll leave this open until I fix this issue (hoping to do it asap).

@AruunnAnanda
Copy link
Author

Okay, thank you @WillianFuks

@WillianFuks
Copy link
Owner

Hi @AruunnAnanda ,

I just released a candidate for fixing this issue, could you please check if it solves for you? You can install it by running pip install tfcausalimpact==0.0.12rc0.

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