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