facebookresearch / Kats

Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not able to import GetMetaData

rvipandey opened this issue · comments

Hi Everyone,

I am not able to import from kats.models.metalearner.get_metadata import GetMetaData, getting below error

ImportError: cannot import name '_mul_broadcast_shape' from 'gpytorch.utils.broadcasting' (/opt/conda/lib/python3.9/site-packages/gpytorch/utils/broadcasting.py)

Can anyone suggest me how to resolve this issue? I tried to optimize https://github.com/facebookresearch/Kats/blob/main/kats/models/metalearner/get_metadata.py file but getting same issue.

Regards,
Ravi

commented

It seems pretty wired to me that IIRC, GetMetaData does not reply on gpytorch. @peiyizhang, any idea?

commented

It will be great if you can share the snippet of the error message to help us debug. Thanks!

Hi @yangbk560 Thank you for your reply. After research i am able to solve this issue.
Issue with gpytorch but when i downloaded a stable version, the issue is resolved.
pip install gpytorch==1.8.1

Regards,
Ravi