fix path
All checks were successful
s444018-training/pipeline/head This commit looks good

This commit is contained in:
Szymon Parafiński 2022-05-09 00:08:16 +02:00
parent a2edb98537
commit adec9b659d
2 changed files with 1 additions and 4 deletions

View File

@ -16,9 +16,6 @@ pipeline {
stage('Script'){ stage('Script'){
steps { steps {
copyArtifacts filter: '*', projectName: 's444018-create-dataset' copyArtifacts filter: '*', projectName: 's444018-create-dataset'
sh 'cd biblioteka_DL'
sh 'ls -la'
sh 'cd ..'
sh 'python3 ./biblioteka_DL/dllib.py $EPOCHS' sh 'python3 ./biblioteka_DL/dllib.py $EPOCHS'
archiveArtifacts artifacts: 'model.pkl', followSymlinks: false archiveArtifacts artifacts: 'model.pkl', followSymlinks: false
} }

View File

@ -56,7 +56,7 @@ def normalize_gross(imbd_data):
def prepare_dataset(): def prepare_dataset():
df = pd.read_csv('imdb_top_1000.csv') df = pd.read_csv('biblioteka_DL/imdb_top_1000.csv')
df = drop_relevant_columns(df) df = drop_relevant_columns(df)
df_lowercase = lowercase_columns_names(df) df_lowercase = lowercase_columns_names(df)
df = data_to_numeric(df_lowercase) df = data_to_numeric(df_lowercase)