Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:12:54 +02:00
parent d7550ec07f
commit 0b9c764cc5

View File

@ -112,7 +112,7 @@ def my_main(epochs):
mlflow.log_metric("rmse", rmse)
mlflow.log_metric("mae", mae)
input_example = np.array([X_testing[0]])
input_example = np.array(X_testing[0])
siganture = mlflow.models.signature.infer_signature(np.array(X_training.detach().numpy()), np.array(y_predicted_train.detach().numpy()))
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme