You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.repository.store_model currently only accepts model objects or binaries, but in cases when the model pipeline is dependent on custom classes that must be referenced before predict can be called, there is no option to add the module to the deployment.
e.g using Custom Transformer class with sklearn pipeline like below
When container is deployed, and model is loaded in memory thisCatTransfrom class not being present inside the artifact throws a model load error with missing module
having a option to upload a directory with model binaries and all custom scripts might be a way to mitigate this issue.
The text was updated successfully, but these errors were encountered:
client.repository.store_model
currently only accepts model objects or binaries, but in cases when the model pipeline is dependent on custom classes that must be referenced before predict can be called, there is no option to add the module to the deployment.e.g using Custom Transformer class with sklearn pipeline like below
When container is deployed, and model is loaded in memory this
CatTransfrom
class not being present inside the artifact throws a model load error withmissing module
having a option to upload a directory with model binaries and all custom scripts might be a way to mitigate this issue.
The text was updated successfully, but these errors were encountered: