cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
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
Valued Contributor III
Valued Contributor III

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?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.