Compare commits

...

2 Commits

Author SHA1 Message Date
Sheaza
030217be1d sacred fix 2
Some checks failed
s464980-training/pipeline/head There was a failure building this commit
2024-06-09 18:12:37 +02:00
Sheaza
ceb45f69b7 sacred fix 2 2024-06-09 18:12:23 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from sacred import Experiment
from sacred.observers import FileStorageObserver, MongoObserver from sacred.observers import FileStorageObserver, MongoObserver
ex = Experiment("464980", interactive=True, save_git_info=False) ex = Experiment("464980", interactive=True, save_git_info=False)
ex.observers.append(FileStorageObserver('experiments')) ex.observers.append(FileStorageObserver('./experiments'))
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@tzietkiewicz.vm.wmi.amu.edu.pl:27017', ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@tzietkiewicz.vm.wmi.amu.edu.pl:27017',
db_name='sacred')) db_name='sacred'))

View File

@ -47,7 +47,7 @@ pipeline {
steps { steps {
sh "chmod +x ./train_sacred.py" sh "chmod +x ./train_sacred.py"
sh "python ./train_sacred.py --epochs ${params.EPOCHS}" sh "python ./train_sacred.py --epochs ${params.EPOCHS}"
archiveArtifacts artifacts: 'experiments', onlyIfSuccessful: true archiveArtifacts artifacts: './experiments', onlyIfSuccessful: true
} }
} }
stage('Run training'){ stage('Run training'){