s
This commit is contained in:
parent
fc0823f3c0
commit
bf10ec7ca8
@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'python:3.8'
|
||||
image 'python:3.11'
|
||||
args '-v /root/.cache:/root/.cache -u root'
|
||||
}
|
||||
}
|
||||
@ -27,7 +27,7 @@ pipeline {
|
||||
stage('Trenuj model') {
|
||||
steps {
|
||||
script {
|
||||
sh "python3 train.py --epochs $EPOCHS"
|
||||
sh "python3 train.py" //--epochs $EPOCHS
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'python:3.8'
|
||||
image 'python:3.11'
|
||||
args '-v /root/.cache:/root/.cache -u root'
|
||||
}
|
||||
}
|
||||
|
2
train.py
2
train.py
@ -1,7 +1,7 @@
|
||||
from sacred import Experiment
|
||||
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.config
|
||||
|
Loading…
Reference in New Issue
Block a user