Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[Question] Is there a way to save TabularModel and use it with other libs? #270

Closed
siddhantpathakk opened this issue Sep 21, 2023 · 2 comments

Comments

@siddhantpathakk
Copy link

I need to save the model checkpoint trained using TabularModel. I wish to use this model checkpoint later into an external library called "alibi-detect". It is useful for detecting data drift statistically.

Alibi-detect documentation states it supports loading ML models saved as per the link : https://docs.seldon.io/projects/alibi-detect/en/stable/overview/saving.html#supported-ml-models

Is there a way to load a TabularModel into Alibi-Detect detector?

@manujosephv
Copy link
Owner

manujosephv commented Sep 23, 2023

You can save the model as a pure PyTorch model. But you will have to handle the data transformations like normalisation etc on your own by saving the datamodule separately.

#268 has details on how to save models in different formats

@manujosephv
Copy link
Owner

Closing this for now. Feel free to reopen if you feel like something is missing.. or start a discussions thread..

Repository owner locked and limited conversation to collaborators Dec 18, 2023
@manujosephv manujosephv converted this issue into discussion #345 Dec 18, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants