path update
All checks were successful
s444507-evaluation/pipeline/head This commit looks good
444507-training/pipeline/head This commit looks good

This commit is contained in:
Adam Wojdyla 2022-05-08 23:49:16 +02:00
parent 10450a9413
commit 314ddddfb5
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ pipeline {
}
stage('Train model with sacred') {
steps {
sh "python3 IUM_07/deepLearning_sacred.py $epoch"
sh "python3 lab07_sacred.py $epoch"
}
}
}

View File

@ -41,15 +41,15 @@ class Model(nn.Module):
def load_dataset_raw():
""" Load data from .csv file. """
cars = pd.read_csv('../c/Car_Prices_Poland_Kaggle.csv', usecols=[1, 4, 5, 6, 10], sep=',')
cars = pd.read_csv('./Car_Prices_Poland_Kaggle.csv', usecols=[1, 4, 5, 6, 10], sep=',')
return cars
def load_dataset_files():
""" Load shuffled, splitted dev and train files from .csv files. """
cars_dev = pd.read_csv('../Car_Prices_Poland_Kaggle_dev.csv', usecols=[1, 4, 5, 6, 10], sep=',', names= [str(i) for i in range(5)])
cars_train = pd.read_csv('../Car_Prices_Poland_Kaggle_train.csv', usecols=[1, 4, 5, 6, 10], sep=',', names= [str(i) for i in range(5)])
cars_dev = pd.read_csv('./Car_Prices_Poland_Kaggle_dev.csv', usecols=[1, 4, 5, 6, 10], sep=',', names= [str(i) for i in range(5)])
cars_train = pd.read_csv('./Car_Prices_Poland_Kaggle_train.csv', usecols=[1, 4, 5, 6, 10], sep=',', names= [str(i) for i in range(5)])
return cars_dev, cars_train