fix dllib.py call
This commit is contained in:
parent
bcf2dd1c65
commit
5a7e92fd4d
@ -21,8 +21,8 @@ pipeline {
|
||||
}
|
||||
stage('Train model with sacred') {
|
||||
steps {
|
||||
sh 'python3 ./biblioteka_DL/dllib.py with "epochs=$EPOCHS"'
|
||||
archiveArtifacts artifacts: 'model.pkl, s444018_sacred_FileObserver/**/*.*, result.csv', followSymlinks: false
|
||||
sh 'python3 ./biblioteka_DL/dllib.py "epochs=$EPOCHS"'
|
||||
archiveArtifacts artifacts: 'model.pkl, result.csv', followSymlinks: false
|
||||
archiveArtifacts artifacts: 'mlruns/**'
|
||||
archiveArtifacts artifacts: 'my_model/**'
|
||||
build job: 's444018-evaluation/master/'
|
||||
|
@ -15,8 +15,7 @@ from urllib.parse import urlparse
|
||||
|
||||
# mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
||||
mlflow.set_experiment("s444018")
|
||||
|
||||
epochs = int(sys.argv[1]) if len(sys.argv) > 1 else 20
|
||||
epochs = sys.argv[1]
|
||||
|
||||
|
||||
def drop_relevant_columns(imbd_data):
|
||||
|
Loading…
Reference in New Issue
Block a user