mlflow fix4
Some checks failed
s444452-training/pipeline/head There was a failure building this commit

This commit is contained in:
AdamOsiowy123 2022-05-15 23:07:36 +02:00
parent ac78319450
commit ad29768ab6
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN apt update && apt install -y python3 \ RUN apt update && apt install -y python3 \
python3-pip python3-pip \
git
WORKDIR /code WORKDIR /code

View File

@ -47,7 +47,7 @@ node {
stage('Archive artifacts') { stage('Archive artifacts') {
archiveArtifacts "model/neural_net" archiveArtifacts "model/neural_net"
archiveArtifacts "my_runs/**" archiveArtifacts "my_runs/**"
archiveArtifacts "/code/mlruns/**" archiveArtifacts "mlruns/**"
} }
} }
} catch (e) { } catch (e) {

View File

@ -19,7 +19,7 @@ import logging
logging.basicConfig(level=logging.WARN) logging.basicConfig(level=logging.WARN)
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
# mlflow.set_tracking_uri("http://172.17.0.1:5000") mlflow.set_tracking_uri("http://172.17.0.1:5000")
mlflow.set_experiment("s444452") mlflow.set_experiment("s444452")
ex = Experiment(name='s444452_fake_job_classification_training', save_git_info=False) ex = Experiment(name='s444452_fake_job_classification_training', save_git_info=False)