diff --git a/ml_pytorch_mlflow.py b/ml_pytorch_mlflow.py index 38f808a..d0cf384 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_, prediction(input_example, model)) + signature = mlflow.models.signature.infer_signature(input_example, prediction(input_example, model)) tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme if tracking_url_type_store != "file":