Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 22:38:46 +02:00
parent ec62845b72
commit 1a8c1055f3

View File

@ -107,7 +107,7 @@ def my_main(epochs):
input_example = X_testing[0]
siganture = mlflow.models.signature.infer_signature(X_training, y_predicted_train)
siganture = mlflow.models.signature.infer_signature(X_training.eval(), y_predicted_train.eval())
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
if tracking_url_type_store != "file":