Orion icon indicating copy to clipboard operation
Orion copied to clipboard

ValueError: Unknown primitive: mlstars.custom.timeseries_preprocessing.time_segments_aggregate

Open potatoVStomato opened this issue 2 years ago • 3 comments

  • Orion version:0.2.7
  • Python version:3.8
  • Operating System:windows

###Description: The location where running Tulog.ipynb gives an error is as follows: from orion.core import Orion orion = Orion( pipeline='tadgan.json' ) anomalies = orion.fit_detect(df) ###ValueError: Unknown primitive: mlstars.custom.timeseries_preprocessing.time_segments_aggregate Note: I have installed orion-ml 0.5.2.dev0

Dear author, what can I do to solve this problem?

potatoVStomato avatar Nov 08 '23 08:11 potatoVStomato

Hi @potatoVStomato, thank you for using Orion!

I have noted your issue and made some changes to the tulog, please try it again now and make sure to run the fourth cell that calls add_primitives_path and add_pipelines_path. This should fix the above error.

If you are still facing issues, please let me know!

sarahmish avatar Nov 09 '23 05:11 sarahmish

Hi @potatoVStomato, thank you for using Orion!

I have noted your issue and made some changes to the tulog, please try it again now and make sure to run the fourth cell that calls add_primitives_path and add_pipelines_path. This should fix the above error.

If you are still facing issues, please let me know!

Same problem. seems didn't find add_primitives_path and add_pipelines_path in tulog. Does it still not been updated yet?

dxiaosa avatar Nov 10 '23 21:11 dxiaosa

Make sure you run cell 4 in the tulog, it should fix the issue above.

I recently updated the tulog to install the latest version of Orion from github directly. This makes it compatible with python 3.10 and colab. If you still see the issue above, please let me know!

sarahmish avatar Nov 14 '23 18:11 sarahmish