This commit is contained in:
parent
caffb7a796
commit
f8addf09d4
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -33,7 +33,7 @@ pipeline {
|
|||||||
{
|
{
|
||||||
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||||
sh 'rm -r my_model'
|
sh 'rm -r my_model'
|
||||||
sh 'python3 vgsales-mlflow.py ${BATCH_SIZE} ${EPOCHS}'
|
sh 'python3 vgsales-mlflow.py'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -66,4 +66,3 @@ with mlflow.start_run():
|
|||||||
mlflow.log_metric("rmse", rmse)
|
mlflow.log_metric("rmse", rmse)
|
||||||
#mlflow.keras.log_model(model, 'vgsales_model.h5')
|
#mlflow.keras.log_model(model, 'vgsales_model.h5')
|
||||||
mlflow.keras.save_model(model, "my_model", signature=mlflow.models.signature.infer_signature(x_train, y_train), input_example=x_train)
|
mlflow.keras.save_model(model, "my_model", signature=mlflow.models.signature.infer_signature(x_train, y_train), input_example=x_train)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user