Added file observer
This commit is contained in:
parent
d1376a046a
commit
10ed071e3d
@ -19,7 +19,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
archiveArtifacts artifacts: 'prediction_results.csv, CarPrices_pytorch_model.pkl', followSymlinks: false
|
archiveArtifacts artifacts: 'prediction_results.csv, CarPrices_pytorch_model.pkl, s444507_sacred_FileObserver/**/*.*', followSymlinks: false
|
||||||
}
|
}
|
||||||
always {
|
always {
|
||||||
emailext body: "${currentBuild.currentResult}", subject: 's444507-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
emailext body: "${currentBuild.currentResult}", subject: 's444507-training', to: 'e19191c5.uam.onmicrosoft.com@emea.teams.ms'
|
||||||
|
@ -11,7 +11,7 @@ import torch.nn.functional as F
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
from sklearn import preprocessing
|
from sklearn import preprocessing
|
||||||
import sys
|
import sys
|
||||||
from sacred.observers import MongoObserver
|
from sacred.observers import MongoObserver, FileStorageObserver
|
||||||
from sacred import Experiment
|
from sacred import Experiment
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
@ -19,6 +19,7 @@ import time
|
|||||||
ex = Experiment(save_git_info=False)
|
ex = Experiment(save_git_info=False)
|
||||||
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
|
ex.observers.append(MongoObserver(url='mongodb://admin:IUM_2021@172.17.0.1:27017',
|
||||||
db_name='sacred'))
|
db_name='sacred'))
|
||||||
|
ex.observers.append(FileStorageObserver('s444507_sacred_FileObserver'))
|
||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
def my_config():
|
def my_config():
|
||||||
|
Loading…
Reference in New Issue
Block a user