Zaktualizuj 'ml_pytorch_mlflow.py'

This commit is contained in:
Sebastian Wałęsa 2022-05-15 14:20:17 +02:00
parent a4fb1a898a
commit 0728bec2c0

View File

@ -147,7 +147,7 @@ def my_main(epochs):
input_, target = val_ds[i]
file.write(str(predict_single(input_, target, model)))
input_example = val_ds[0].unsqueeze(0)
input_example = val_ds[0]
signature = mlflow.models.signature.infer_signature(input_, prediction(input_, model))
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme