archive model
Some checks failed
s444452-training/pipeline/head There was a failure building this commit
Some checks failed
s444452-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9652f51020
commit
02a091883a
@ -24,7 +24,7 @@ node {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Archive artifacts') {
|
stage('Archive artifacts') {
|
||||||
archiveArtifacts "neural_network_evaluation.txt, neural_network_model/**/*"
|
archiveArtifacts "neural_network_evaluation.txt, neural_network_model"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -41,7 +41,7 @@ def load_trained_model(abs_path, model_name):
|
|||||||
|
|
||||||
|
|
||||||
def save_model(model, abs_path, model_name):
|
def save_model(model, abs_path, model_name):
|
||||||
model.save(os.path.join(abs_path, model_name))
|
model.save(os.path.join(abs_path, model_name), save_format='h5')
|
||||||
|
|
||||||
|
|
||||||
def train_model(model, x_train, y_train):
|
def train_model(model, x_train, y_train):
|
||||||
|
Loading…
Reference in New Issue
Block a user