s
This commit is contained in:
parent
c7c4430c77
commit
8f458fd54a
@ -11,7 +11,7 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
steps {
|
steps {
|
||||||
sh 'pip install pandas tensorflow scikit-learn imbalanced-learn sacred'
|
sh 'pip install pandas tensorflow scikit-learn imbalanced-learn sacred pymongo'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Pobierz dane') {
|
stage('Pobierz dane') {
|
||||||
|
@ -23,7 +23,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Przygotowanie') {
|
stage('Przygotowanie') {
|
||||||
steps {
|
steps {
|
||||||
sh 'pip install pandas tensorflow scikit-learn matplotlib sacred'
|
sh 'pip install pandas tensorflow scikit-learn matplotlib sacred pymongo'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Ewaluuj model') {
|
stage('Ewaluuj model') {
|
||||||
|
1
train.py
1
train.py
@ -4,6 +4,7 @@ from sacred.observers import MongoObserver, FileStorageObserver
|
|||||||
ex = Experiment('s487187-training')
|
ex = Experiment('s487187-training')
|
||||||
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.observers.append(FileStorageObserver('results'))
|
ex.observers.append(FileStorageObserver('results'))
|
||||||
|
ex.use_git = False
|
||||||
|
|
||||||
@ex.config
|
@ex.config
|
||||||
def my_config():
|
def my_config():
|
||||||
|
Loading…
Reference in New Issue
Block a user