โ08-07-2023 05:19 PM
I'm using runtime DBR 12.2 LTS ML
Getting this error when running.
import mlflow
logged_model = 'runs:/.../model' #my run id
# Load model as a PyFuncModel.
loaded_model = mlflow.pyfunc.load_model(logged_model)
# Predict on a Pandas DataFrame.
import pandas as pd
loaded_model.predict(pd.DataFrame(data))
โ08-07-2023 06:10 PM
In mi logged model the MLModel has the following flavor:
flavors:
python_function:
data: data/feature_store
env:
conda: conda.yaml
virtualenv: python_env.yaml
loader_module: databricks.feature_store.mlflow_model
python_version: 3.9.5
I think here is where the problem is, but I don't know how to solve it
โ08-13-2023 11:53 PM
Hi @SOlivero,
Thank you for posting the question in Databricks community.
Please share with us the error message for further analysis.
โ08-17-2023 03:24 AM
Hi @SOlivero I'm having the same issue, have you found a solution?
โ08-17-2023 03:25 AM
โ08-17-2023 07:20 AM
Hi @hollybaker354 and @SOlivero,
Thank you for the reply.
Can you check by setting the maxDepth to the default value and let us know how it works?
โ08-17-2023 07:23 AM
Hi @SOlivero and @hollybaker354,
Can you check by setting the maxDepth to the default value and see how it works?
โ11-07-2023 08:27 AM - edited โ11-07-2023 08:28 AM
hi @Kumaran
Could you please let me know where to set the "maxDepth" to the default value? What do you mean?
I'm having the same issue. Below please see the error, the artifacts of the logged model, and how I logged the model with feature store.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโt want to miss the chance to attend and share knowledge.
If there isnโt a group near you, start one and help create a community that brings people together.
Request a New Group