diff --git a/Jenkinsfile_train b/Jenkinsfile_train index 090c2c2..d6c6d1e 100644 --- a/Jenkinsfile_train +++ b/Jenkinsfile_train @@ -16,9 +16,6 @@ pipeline { stage('Script'){ steps { copyArtifacts filter: '*', projectName: 's444018-create-dataset' - sh 'cd biblioteka_DL' - sh 'ls -la' - sh 'cd ..' sh 'python3 ./biblioteka_DL/dllib.py $EPOCHS' archiveArtifacts artifacts: 'model.pkl', followSymlinks: false } diff --git a/biblioteka_DL/dllib.py b/biblioteka_DL/dllib.py index 5b1b4cc..11f7499 100644 --- a/biblioteka_DL/dllib.py +++ b/biblioteka_DL/dllib.py @@ -56,7 +56,7 @@ def normalize_gross(imbd_data): 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_lowercase = lowercase_columns_names(df) df = data_to_numeric(df_lowercase)