Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 16:03:40 +02:00
parent dbfb321c34
commit 5a732c3b04

View File

@ -103,8 +103,8 @@ def my_main(epochs):
#result = open("output",'w+')
#result.write(f'{y_predicted}')
input_example = X_testing.numpy()
siganture = infer_signature(x,y)
input_example = np.array([X_testing.numpy()[0]])
siganture = mlflow.models.signature.infer_signature(X_training.numpy(), y_predicted_train.numpy())
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
if tracking_url_type_store != "file":