From eddd016ea0dfb594b3a542961b8093ad2c95f30e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Wa=C5=82=C4=99sa?= Date: Sun, 15 May 2022 16:01:52 +0200 Subject: [PATCH] Zaktualizuj 'ml_pytorch_mlflow.py' --- ml_pytorch_mlflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index e13fb36..81823ca 100644 --- a/ml_pytorch_mlflow.py +++ b/ml_pytorch_mlflow.py @@ -149,7 +149,7 @@ def my_main(epochs): input_example = val_ds[0] # input_example = input_example.unsqueeze(0) - signature = mlflow.models.signature.infer_signature(input_[0], prediction(input_[0]), model) + signature = mlflow.models.signature.infer_signature(input_[0], prediction(input_[0])) tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme if tracking_url_type_store != "file":