Zaktualizuj 'train-mlflow.py'
This commit is contained in:
parent
56eaf4557a
commit
065f162b33
@ -100,7 +100,7 @@ def my_main(epochs):
|
||||
#result.write(f'{y_predicted}')
|
||||
|
||||
input_example = X_testing[0]
|
||||
siganture = mlflow.models.signature.infer_signature(X_training, model(X_training))
|
||||
siganture = mlflow.models.signature.infer_signature(X_training.numpy(), model(X_training.numpy()))
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user