update MLProject, jenkinsfile_train-sacred, dllib-mlflow.py
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Czajka 2022-05-09 22:48:11 +02:00
parent 0a55ca544d
commit 237b98a503
3 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ from sacred.observers import MongoObserver
# EPOCHS = int(sys.argv[1])
mlflow.set_tracking_uri("http://localhost:5000/#/")
#mlflow.set_tracking_uri("http://localhost:5000/#/")
mlflow.set_experiment("s444356")
class Model(nn.Module):

View File

@ -19,6 +19,8 @@ pipeline {
sh "python Biblioteka_DL/dllib-mlflow.py -e $EPOCHS"
archiveArtifacts artifacts: 'games_model.pkl'
sh 'ls -al'
sh 'cat MLProject'
sh 'ls mlruns'
archiveArtifacts artifacts: 'mlruns/**'
}
}

View File

@ -7,6 +7,6 @@ entry_points:
main:
parameters:
epochs: {type: float, default: 100}
command: "python Biblioteka_DL/dllib-sacred.py -e {epochs}"
command: "python Biblioteka_DL/dllib-sacred.py {epochs}"
eval:
command: "python Biblioteka_DL/evaluate.py"