cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

while registering model I am getting error: AssertionError:

ml-engineer
New Contributor

while registering model I am getting error: AssertionError:

I am getting error while running the code with workflow if I running code individually with notebook then its running fine.  

below is the code :

            fe = FeatureEngineeringClient()
            self.logger.info("Logging model to MLflow using Feature Engineering API")
            fe.log_model(
                model=SklearnModelWrapper(model),
                artifact_path="fe_model",
                flavor=mlflow.pyfunc,
                training_set=fe_training_set,
                registered_model_name=registered_model_name,
            )
1 REPLY 1

Kumaran
Databricks Employee
Databricks Employee

Hi @ml-engineer Thank you for contacting Databricks community support.

I think you are installing tensorflow version 2.14, could you update to 2.16 using the pip install --upgrade tensorflow and see how it works?

Connect with Databricks Users in Your Area

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