Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 15:09:44 +02:00
parent c544e57fe1
commit 05a03711d7

View File

@ -100,7 +100,7 @@ def my_main(epochs):
#result.write(f'{y_predicted}')
input_example = X_testing[0].numpy()
siganture = (X_training, y_predicted_train)
siganture = pd.DataFrame(X_training, y_predicted_train)
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
mlflow.pytorch.log_model(model, "model", registered_model_name="s478815", signature=siganture, input_example=input_example)