Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:21:07 +02:00
parent 0b9c764cc5
commit 3d0621f745

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 = 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