This commit is contained in:
parent
8fa7f68080
commit
bc50357b19
@ -24,7 +24,7 @@ node {
|
||||
}
|
||||
}
|
||||
stage('Archive artifacts') {
|
||||
archiveArtifacts "model/**"
|
||||
archiveArtifacts "model/neural_net"
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
|
@ -29,7 +29,8 @@ def tokenize(x, x_train):
|
||||
|
||||
|
||||
def save_model(model):
|
||||
model_name = 'neural_net_' + datetime.datetime.today().strftime('%d-%b-%Y-%H:%M:%S')
|
||||
# model_name = 'neural_net_' + datetime.datetime.today().strftime('%d-%b-%Y-%H:%M:%S')
|
||||
model_name = 'neural_net'
|
||||
model.save(os.path.join(os.getcwd(), 'model', model_name), save_format='h5', overwrite=True)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user