This commit is contained in:
Jakub Zaręba 2023-05-10 21:49:05 +02:00
parent fc0823f3c0
commit bf10ec7ca8
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent { agent {
docker { docker {
image 'python:3.8' image 'python:3.11'
args '-v /root/.cache:/root/.cache -u root' args '-v /root/.cache:/root/.cache -u root'
} }
} }
@ -27,7 +27,7 @@ pipeline {
stage('Trenuj model') { stage('Trenuj model') {
steps { steps {
script { script {
sh "python3 train.py --epochs $EPOCHS" sh "python3 train.py" //--epochs $EPOCHS
} }
} }
} }

View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent { agent {
docker { docker {
image 'python:3.8' image 'python:3.11'
args '-v /root/.cache:/root/.cache -u root' args '-v /root/.cache:/root/.cache -u root'
} }
} }

View File

@ -1,7 +1,7 @@
from sacred import Experiment from sacred import Experiment
from sacred.observers import MongoObserver, FileStorageObserver from sacred.observers import MongoObserver, FileStorageObserver
ex = Experiment('s449312-training_master', interactive=True) ex = Experiment('s449312-training', interactive=True)
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred')) ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017', db_name='sacred'))
@ex.config @ex.config