finał 7?
This commit is contained in:
parent
aea643dee6
commit
1189623cdb
@ -39,6 +39,7 @@ pipeline {
|
|||||||
stage('Archive artifacts') {
|
stage('Archive artifacts') {
|
||||||
steps{
|
steps{
|
||||||
archiveArtifacts 'wine_model.h5'
|
archiveArtifacts 'wine_model.h5'
|
||||||
|
archiveArtifacts 'my_runs/**'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,10 +67,16 @@ def prepare_model(epoch_param, batch_param, _run):
|
|||||||
|
|
||||||
NeuralModel.save('wine_model.h5')
|
NeuralModel.save('wine_model.h5')
|
||||||
|
|
||||||
|
#TO TYLKO NA POTRZEBY ZADANIA
|
||||||
|
_run.info["Accuracy dla zbioru test (tylko na potrzeby zadania)"] = str(NeuralModel.predict(scaled_x))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ex.main
|
@ex.main
|
||||||
def my_main(epoch_param, batch_param):
|
def my_main(epoch_param, batch_param):
|
||||||
print(prepare_model())
|
print(prepare_model())
|
||||||
|
|
||||||
|
|
||||||
r = ex.run()
|
r = ex.run()
|
||||||
ex.add_artifact("saved_model/saved_model.pb")
|
ex.add_artifact("wine_model.h5")
|
Loading…
Reference in New Issue
Block a user