Zaktualizuj 'train-mlflow.py'

This commit is contained in:
Kornelia Girejko 2022-05-15 16:05:40 +02:00
parent c51015fe3a
commit 3f679266e0

View File

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