Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bug: timesfm loading from local path error #241

Open
Labels
bugSomething isn't working

Description

Initial Checklist

What happened?

Hi,
after updating to 0.2.0, when I run Timesfm 2.5 200m pytorch locally,
I face the error


AttributeError Traceback (most recent call last)
Cell In[5], line 102
88 tcf = TimeCopilotForecaster(models=[
89 chronos, #아마존
90 moirai, #세일즈포스
(...)
97
98 ]) #<- 여기 다변화 줘야 함
100 df = pd.read_excel("(분석용) Z Fold 6_raw - w1_250126.xlsx")
--> 102 res = tcf.forecast(
103 df=df,
104 h=2,
105 freq="W"
106 )
108 def explain_with_llm(table_md: str, prompt=
109 """
110 Please forecast.
(...)
114
115 """):
116 base = os.environ.get("OPENAI_BASE_URL", "http://106.109.10.130:11434/v1").rstrip("/")

File c:\Users\jitaek.jo\AppData\Local\Programs\Python\Python312\Lib\site-packages\timecopilot\forecaster.py:177, in TimeCopilotForecaster.forecast(self, df, h, freq, level, quantiles)
122 def forecast(
...
--> 167 tfm.compile(config)
168 try:
169 yield tfm

AttributeError: 'NoneType' object has no attribute 'compile'

Environment

0.0.20. win 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /