Dockerfile and Jenkinsfile_train added MLmodel script generation.
Some checks failed
s426206-training/pipeline/head There was a failure building this commit

This commit is contained in:
Jan Nowak 2021-05-22 23:39:09 +02:00
parent 9b3d61f406
commit eaf64bafa6
2 changed files with 4 additions and 0 deletions

View File

@ -33,3 +33,5 @@ COPY ./plot.py ./
RUN chmod +x plot.py RUN chmod +x plot.py
COPY ./train_mlflow.py ./ COPY ./train_mlflow.py ./
RUN chmod +x train_mlflow.py RUN chmod +x train_mlflow.py
COPY ./generate_MLmodel.py ./
RUN chmod +x generate_MLmodel.py

View File

@ -34,6 +34,8 @@ pipeline {
sh 'chmod +x dlgssdpytorch.py' sh 'chmod +x dlgssdpytorch.py'
sh 'python3 ./dlgssdpytorch.py $PARAMETRY' sh 'python3 ./dlgssdpytorch.py $PARAMETRY'
sh 'chmod +x train_mlflow.py' sh 'chmod +x train_mlflow.py'
sh 'chmod +x generate_MLmodel.py'
sh 'python3 ./generate_MLmodel'
//sh 'mlflow ./train_mlflow.py' //sh 'mlflow ./train_mlflow.py'
//sh 'mlflow run .' //sh 'mlflow run .'
} }