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

plot_prediction throw ValueError while using Exogenous Infusion #134

Closed
omriargaman opened this issue Sep 12, 2024 · 3 comments
Closed

plot_prediction throw ValueError while using Exogenous Infusion #134

omriargaman opened this issue Sep 12, 2024 · 3 comments

Comments

@omriargaman
Copy link

When running plot_predictions with Exogenous Infusion (as provided on example notebook) i get an error message:

ValueError Traceback (most recent call last)
in <cell line: 1>()
----> 1 plot_predictions(
2 model=finetune_forecast_trainer.model,
3 dset=test_dataset,
4
5 plot_dir=os.path.join(OUT_DIR, "bike_sharing"),

9 frames
/usr/local/lib/python3.10/dist-packages/tsfm_public/models/tinytimemixer/modeling_tinytimemixer.py in forward(self, base_forecasts, past_values, future_values)
696
697 if self.exogenous_channel_count > 0 and future_values is None:
--> 698 raise ValueError("future_values cannot be none when we have exogenous channels.")
699
700 if self.exogenous_channel_count > 0:

ValueError: future_values cannot be none when we have exogenous channels.

although the dataset test_dataset holds future_values

@wgifford
Copy link
Collaborator

@omriargaman Thank you for the bug report. We are investigating and will report back.

@wgifford
Copy link
Collaborator

Please try the latest from main. This will be included in the next release.

@wgifford
Copy link
Collaborator

Closing for now, please reopen if there is an issue.

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