IUM_07 - fix models/Jenkinsfile
This commit is contained in:
parent
5aa6a770d1
commit
ceb1643cc0
2
models/Jenkinsfile
vendored
2
models/Jenkinsfile
vendored
@ -52,6 +52,8 @@ pipeline {
|
|||||||
sh "chmod +x ./create_model.py"
|
sh "chmod +x ./create_model.py"
|
||||||
sh "python3 ./create_model.py with 'num_epochs=${params.epochs}' 'learning_rate=${params.learning_rate}' 'weight_decay=${params.weight_decay}'"
|
sh "python3 ./create_model.py with 'num_epochs=${params.epochs}' 'learning_rate=${params.learning_rate}' 'weight_decay=${params.weight_decay}'"
|
||||||
|
|
||||||
|
archiveArtifacts artifacts: "models/model.pth", onlyIfSuccessful: true
|
||||||
|
|
||||||
def experiment_id = readFile('experiment_id.txt').trim()
|
def experiment_id = readFile('experiment_id.txt').trim()
|
||||||
archiveArtifacts artifacts: "my_runs/${experiment_id}/*", onlyIfSuccessful: true
|
archiveArtifacts artifacts: "my_runs/${experiment_id}/*", onlyIfSuccessful: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user