tfcausalimpact
tfcausalimpact copied to clipboard
Type-error
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?
Thanks, Arun
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.
Hi @WillianFuks ,
Thanks for the prompt response.
Below are my versions :
- tensorflow : 2.10.0
- tensorflow-probability: 0.14.0
- tfcausalimpact : 0.0.11
Just wondering, does it work for tensorflow==2.9.2
?
Yes, it works well with tensorflow==2.9.2
Thanks!
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).
Okay, thank you @WillianFuks
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
.