Zaktualizuj 'train-mlflow.py'
This commit is contained in:
parent
1a8c1055f3
commit
b3584a5545
@ -107,7 +107,7 @@ def my_main(epochs):
|
|||||||
|
|
||||||
|
|
||||||
input_example = X_testing[0]
|
input_example = X_testing[0]
|
||||||
siganture = mlflow.models.signature.infer_signature(X_training.eval(), y_predicted_train.eval())
|
siganture = mlflow.models.signature.infer_signature(np.array(X_training), np.array(y_predicted_train))
|
||||||
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
tracking_url_type_store = urlparse(mlflow.get_tracking_uri()).scheme
|
||||||
|
|
||||||
if tracking_url_type_store != "file":
|
if tracking_url_type_store != "file":
|
||||||
|
Loading…
Reference in New Issue
Block a user