From 0a72ed79b7e79f1d3d10a6fe5375594a681eb989 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Mon, 9 May 2022 10:18:17 +0200 Subject: [PATCH 1/5] mongo --- pytorch/pytorch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch/pytorch.py b/pytorch/pytorch.py index 491d7f2..3acd457 100644 --- a/pytorch/pytorch.py +++ b/pytorch/pytorch.py @@ -28,7 +28,7 @@ ex = Experiment(save_git_info=False) ex.observers.append(FileStorageObserver('my_runs')) # ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred')) -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')) From 0c9db61f99ef36b7e929d7933b7c9293f7962b7b Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Mon, 9 May 2022 10:23:33 +0200 Subject: [PATCH 2/5] omniboard --- pytorch/pytorch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytorch/pytorch.py b/pytorch/pytorch.py index 3acd457..ceda233 100644 --- a/pytorch/pytorch.py +++ b/pytorch/pytorch.py @@ -25,10 +25,10 @@ from sacred.observers import MongoObserver # In[2]: ex = Experiment(save_git_info=False) -ex.observers.append(FileStorageObserver('my_runs')) +ex.observers.append(FileStorageObserver('s444354_runs')) # ex.observers.append(MongoObserver(url='mongodb://mongo_user:mongo_password_IUM_2021@localhost:27017', db_name='sacred')) -#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')) From 0b27d931f3e1ffbfc388b63a7d8cc99bcc49bb72 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Mon, 9 May 2022 10:56:28 +0200 Subject: [PATCH 3/5] dont copy artifact result but create it itself --- Jenkinsfile | 2 +- Jenkinsfile3 | 2 +- result.txt | 299 --------------------------------------------------- 3 files changed, 2 insertions(+), 301 deletions(-) delete mode 100644 result.txt diff --git a/Jenkinsfile b/Jenkinsfile index 2675774..73b9d64 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,7 +41,7 @@ pipeline { //archiveArtifacts 'TEST_winequality-red.csv' //archiveArtifacts 'TRAIN_winequality-red.csv' //archiveArtifacts 'VAL_winequality-red.csv' - archiveArtifacts 'pytorch/result.txt' + //archiveArtifacts 'pytorch/result.txt' } } stage ('Starting train job') { diff --git a/Jenkinsfile3 b/Jenkinsfile3 index 2b8c218..45143d7 100644 --- a/Jenkinsfile3 +++ b/Jenkinsfile3 @@ -13,7 +13,7 @@ pipeline { stages { stage('Copy') { steps { - copyArtifacts projectName: 's444354-create-dataset' + //copyArtifacts projectName: 's444354-create-dataset' // sh 'python3 ./pytorch/pytorch.py $EPOCH_NUMBER' sh 'python3 ./pytorch/pytorch.py' } diff --git a/result.txt b/result.txt deleted file mode 100644 index 8077cd4..0000000 --- a/result.txt +++ /dev/null @@ -1,299 +0,0 @@ -Target: tensor([4.])----- Prediction: tensor([2.5912]) -Target: tensor([7.])----- Prediction: tensor([5.3811]) -Target: tensor([6.])----- Prediction: tensor([2.4516]) -Target: tensor([5.])----- Prediction: tensor([6.6527]) -Target: tensor([5.])----- Prediction: tensor([3.6947]) -Target: tensor([7.])----- Prediction: tensor([3.0992]) -Target: tensor([5.])----- Prediction: tensor([3.5280]) -Target: tensor([6.])----- Prediction: tensor([2.8694]) -Target: tensor([5.])----- Prediction: tensor([10.5723]) -Target: tensor([6.])----- Prediction: tensor([1.5417]) -Target: tensor([6.])----- Prediction: tensor([1.5702]) -Target: tensor([6.])----- Prediction: tensor([3.8206]) -Target: tensor([6.])----- Prediction: tensor([5.5910]) -Target: tensor([7.])----- Prediction: tensor([2.1009]) -Target: tensor([5.])----- Prediction: tensor([1.9532]) -Target: tensor([6.])----- Prediction: tensor([5.4789]) -Target: tensor([5.])----- Prediction: tensor([3.4121]) -Target: tensor([6.])----- Prediction: tensor([5.6153]) -Target: tensor([6.])----- Prediction: tensor([2.7008]) -Target: tensor([6.])----- Prediction: tensor([2.4302]) -Target: tensor([5.])----- Prediction: tensor([11.2693]) -Target: tensor([7.])----- Prediction: tensor([2.9486]) -Target: tensor([6.])----- Prediction: tensor([2.0228]) -Target: tensor([5.])----- Prediction: tensor([5.8602]) -Target: tensor([5.])----- Prediction: tensor([3.8908]) -Target: tensor([6.])----- Prediction: tensor([10.1888]) -Target: tensor([5.])----- Prediction: tensor([6.6399]) -Target: tensor([6.])----- Prediction: tensor([3.7961]) -Target: tensor([6.])----- Prediction: tensor([3.8239]) -Target: tensor([5.])----- Prediction: tensor([3.6467]) -Target: tensor([6.])----- Prediction: tensor([5.6153]) -Target: tensor([5.])----- Prediction: tensor([4.1886]) -Target: tensor([6.])----- Prediction: tensor([7.4703]) -Target: tensor([5.])----- Prediction: tensor([6.7674]) -Target: tensor([6.])----- Prediction: tensor([3.9402]) -Target: tensor([5.])----- Prediction: tensor([10.8020]) -Target: tensor([5.])----- Prediction: tensor([3.7203]) -Target: tensor([6.])----- Prediction: tensor([4.3365]) -Target: tensor([6.])----- Prediction: tensor([4.0502]) -Target: tensor([5.])----- Prediction: tensor([5.1851]) -Target: tensor([7.])----- Prediction: tensor([3.8488]) -Target: tensor([5.])----- Prediction: tensor([2.4501]) -Target: tensor([6.])----- Prediction: tensor([2.9132]) -Target: tensor([7.])----- Prediction: tensor([3.3335]) -Target: tensor([5.])----- Prediction: tensor([7.8335]) -Target: tensor([6.])----- Prediction: tensor([2.5696]) -Target: tensor([6.])----- Prediction: tensor([2.7571]) -Target: tensor([6.])----- Prediction: tensor([5.0917]) -Target: tensor([5.])----- Prediction: tensor([12.2102]) -Target: tensor([5.])----- Prediction: tensor([7.3395]) -Target: tensor([6.])----- Prediction: tensor([2.2568]) -Target: tensor([7.])----- Prediction: tensor([3.2961]) -Target: tensor([5.])----- Prediction: tensor([1.6766]) -Target: tensor([5.])----- Prediction: tensor([3.5993]) -Target: tensor([6.])----- Prediction: tensor([5.0940]) -Target: tensor([5.])----- Prediction: tensor([9.0951]) -Target: tensor([6.])----- Prediction: tensor([3.0024]) -Target: tensor([5.])----- Prediction: tensor([3.1072]) -Target: tensor([7.])----- Prediction: tensor([7.0583]) -Target: tensor([5.])----- Prediction: tensor([3.1533]) -Target: tensor([5.])----- Prediction: tensor([11.8913]) -Target: tensor([5.])----- Prediction: tensor([1.7950]) -Target: tensor([6.])----- Prediction: tensor([3.5572]) -Target: tensor([6.])----- Prediction: tensor([2.9728]) -Target: tensor([7.])----- Prediction: tensor([2.1861]) -Target: tensor([6.])----- Prediction: tensor([3.7599]) -Target: tensor([6.])----- Prediction: tensor([4.5269]) -Target: tensor([6.])----- Prediction: tensor([3.1787]) -Target: tensor([7.])----- Prediction: tensor([2.6388]) -Target: tensor([5.])----- Prediction: tensor([6.9238]) -Target: tensor([7.])----- Prediction: tensor([4.8372]) -Target: tensor([6.])----- Prediction: tensor([4.9583]) -Target: tensor([5.])----- Prediction: tensor([2.8367]) -Target: tensor([5.])----- Prediction: tensor([3.2148]) -Target: tensor([5.])----- Prediction: tensor([2.2810]) -Target: tensor([5.])----- Prediction: tensor([5.5056]) -Target: tensor([6.])----- Prediction: tensor([1.5980]) -Target: tensor([6.])----- Prediction: tensor([3.2662]) -Target: tensor([6.])----- Prediction: tensor([2.0195]) -Target: tensor([5.])----- Prediction: tensor([10.5990]) -Target: tensor([7.])----- Prediction: tensor([2.8631]) -Target: tensor([5.])----- Prediction: tensor([8.1595]) -Target: tensor([6.])----- Prediction: tensor([3.9324]) -Target: tensor([6.])----- Prediction: tensor([3.2511]) -Target: tensor([6.])----- Prediction: tensor([3.6911]) -Target: tensor([5.])----- Prediction: tensor([3.7448]) -Target: tensor([4.])----- Prediction: tensor([1.5203]) -Target: tensor([6.])----- Prediction: tensor([3.9098]) -Target: tensor([5.])----- Prediction: tensor([3.7416]) -Target: tensor([7.])----- Prediction: tensor([2.1332]) -Target: tensor([6.])----- Prediction: tensor([6.7936]) -Target: tensor([5.])----- Prediction: tensor([5.2619]) -Target: tensor([5.])----- Prediction: tensor([2.4828]) -Target: tensor([6.])----- Prediction: tensor([2.9184]) -Target: tensor([7.])----- Prediction: tensor([3.9367]) -Target: tensor([6.])----- Prediction: tensor([4.4000]) -Target: tensor([5.])----- Prediction: tensor([4.0671]) -Target: tensor([8.])----- Prediction: tensor([8.0165]) -Target: tensor([5.])----- Prediction: tensor([4.5995]) -Target: tensor([6.])----- Prediction: tensor([7.7532]) -Target: tensor([5.])----- Prediction: tensor([9.6909]) -Target: tensor([5.])----- Prediction: tensor([5.7997]) -Target: tensor([6.])----- Prediction: tensor([8.8374]) -Target: tensor([6.])----- Prediction: tensor([4.0067]) -Target: tensor([5.])----- Prediction: tensor([10.5642]) -Target: tensor([5.])----- Prediction: tensor([2.3271]) -Target: tensor([5.])----- Prediction: tensor([2.0700]) -Target: tensor([6.])----- Prediction: tensor([1.7528]) -Target: tensor([6.])----- Prediction: tensor([5.2573]) -Target: tensor([7.])----- Prediction: tensor([3.1217]) -Target: tensor([5.])----- Prediction: tensor([3.4221]) -Target: tensor([4.])----- Prediction: tensor([2.1967]) -Target: tensor([6.])----- Prediction: tensor([1.8576]) -Target: tensor([5.])----- Prediction: tensor([3.9776]) -Target: tensor([4.])----- Prediction: tensor([1.8588]) -Target: tensor([7.])----- Prediction: tensor([8.4651]) -Target: tensor([5.])----- Prediction: tensor([3.0248]) -Target: tensor([5.])----- Prediction: tensor([9.5106]) -Target: tensor([6.])----- Prediction: tensor([2.3674]) -Target: tensor([7.])----- Prediction: tensor([7.9203]) -Target: tensor([6.])----- Prediction: tensor([5.6564]) -Target: tensor([5.])----- Prediction: tensor([4.9836]) -Target: tensor([6.])----- Prediction: tensor([3.6858]) -Target: tensor([6.])----- Prediction: tensor([4.3583]) -Target: tensor([7.])----- Prediction: tensor([2.9855]) -Target: tensor([5.])----- Prediction: tensor([7.3182]) -Target: tensor([5.])----- Prediction: tensor([7.9802]) -Target: tensor([5.])----- Prediction: tensor([2.2287]) -Target: tensor([6.])----- Prediction: tensor([3.9656]) -Target: tensor([5.])----- Prediction: tensor([2.4347]) -Target: tensor([6.])----- Prediction: tensor([5.8240]) -Target: tensor([5.])----- Prediction: tensor([2.6369]) -Target: tensor([7.])----- Prediction: tensor([1.8155]) -Target: tensor([5.])----- Prediction: tensor([10.1038]) -Target: tensor([5.])----- Prediction: tensor([2.3575]) -Target: tensor([5.])----- Prediction: tensor([3.9901]) -Target: tensor([5.])----- Prediction: tensor([2.4601]) -Target: tensor([6.])----- Prediction: tensor([2.8243]) -Target: tensor([5.])----- Prediction: tensor([7.7295]) -Target: tensor([5.])----- Prediction: tensor([3.4800]) -Target: tensor([6.])----- Prediction: tensor([2.6094]) -Target: tensor([6.])----- Prediction: tensor([2.6338]) -Target: tensor([6.])----- Prediction: tensor([3.7549]) -Target: tensor([6.])----- Prediction: tensor([3.0682]) -Target: tensor([7.])----- Prediction: tensor([23.9401]) -Target: tensor([7.])----- Prediction: tensor([2.9943]) -Target: tensor([6.])----- Prediction: tensor([5.7540]) -Target: tensor([7.])----- Prediction: tensor([3.5938]) -Target: tensor([6.])----- Prediction: tensor([3.8617]) -Target: tensor([6.])----- Prediction: tensor([4.4898]) -Target: tensor([6.])----- Prediction: tensor([4.1527]) -Target: tensor([6.])----- Prediction: tensor([13.8834]) -Target: tensor([5.])----- Prediction: tensor([3.4153]) -Target: tensor([5.])----- Prediction: tensor([10.9910]) -Target: tensor([6.])----- Prediction: tensor([3.2680]) -Target: tensor([5.])----- Prediction: tensor([2.7166]) -Target: tensor([6.])----- Prediction: tensor([2.7429]) -Target: tensor([6.])----- Prediction: tensor([1.8801]) -Target: tensor([5.])----- Prediction: tensor([4.7673]) -Target: tensor([6.])----- Prediction: tensor([2.3313]) -Target: tensor([5.])----- Prediction: tensor([8.0485]) -Target: tensor([5.])----- Prediction: tensor([2.2194]) -Target: tensor([7.])----- Prediction: tensor([4.6185]) -Target: tensor([6.])----- Prediction: tensor([3.9581]) -Target: tensor([6.])----- Prediction: tensor([3.2511]) -Target: tensor([5.])----- Prediction: tensor([9.4976]) -Target: tensor([5.])----- Prediction: tensor([2.8048]) -Target: tensor([7.])----- Prediction: tensor([2.3068]) -Target: tensor([5.])----- Prediction: tensor([5.2228]) -Target: tensor([5.])----- Prediction: tensor([3.4355]) -Target: tensor([6.])----- Prediction: tensor([5.8229]) -Target: tensor([6.])----- Prediction: tensor([4.9710]) -Target: tensor([7.])----- Prediction: tensor([4.0948]) -Target: tensor([5.])----- Prediction: tensor([9.8520]) -Target: tensor([6.])----- Prediction: tensor([1.6064]) -Target: tensor([7.])----- Prediction: tensor([4.0091]) -Target: tensor([6.])----- Prediction: tensor([2.1055]) -Target: tensor([5.])----- Prediction: tensor([5.5266]) -Target: tensor([5.])----- Prediction: tensor([1.5365]) -Target: tensor([5.])----- Prediction: tensor([2.0232]) -Target: tensor([6.])----- Prediction: tensor([4.7462]) -Target: tensor([8.])----- Prediction: tensor([3.0388]) -Target: tensor([6.])----- Prediction: tensor([7.3761]) -Target: tensor([8.])----- Prediction: tensor([4.0455]) -Target: tensor([7.])----- Prediction: tensor([8.4651]) -Target: tensor([7.])----- Prediction: tensor([2.2083]) -Target: tensor([5.])----- Prediction: tensor([13.7213]) -Target: tensor([6.])----- Prediction: tensor([2.4370]) -Target: tensor([5.])----- Prediction: tensor([4.2159]) -Target: tensor([6.])----- Prediction: tensor([3.0294]) -Target: tensor([5.])----- Prediction: tensor([11.3286]) -Target: tensor([4.])----- Prediction: tensor([3.1563]) -Target: tensor([5.])----- Prediction: tensor([3.0204]) -Target: tensor([6.])----- Prediction: tensor([3.1787]) -Target: tensor([5.])----- Prediction: tensor([3.4895]) -Target: tensor([5.])----- Prediction: tensor([3.9059]) -Target: tensor([7.])----- Prediction: tensor([2.2940]) -Target: tensor([5.])----- Prediction: tensor([6.0839]) -Target: tensor([6.])----- Prediction: tensor([3.4874]) -Target: tensor([5.])----- Prediction: tensor([12.2298]) -Target: tensor([6.])----- Prediction: tensor([1.9277]) -Target: tensor([5.])----- Prediction: tensor([4.9739]) -Target: tensor([7.])----- Prediction: tensor([4.5098]) -Target: tensor([5.])----- Prediction: tensor([3.4803]) -Target: tensor([6.])----- Prediction: tensor([2.3278]) -Target: tensor([6.])----- Prediction: tensor([8.8388]) -Target: tensor([7.])----- Prediction: tensor([2.6388]) -Target: tensor([7.])----- Prediction: tensor([1.8263]) -Target: tensor([5.])----- Prediction: tensor([1.7058]) -Target: tensor([5.])----- Prediction: tensor([4.7320]) -Target: tensor([5.])----- Prediction: tensor([7.0629]) -Target: tensor([8.])----- Prediction: tensor([6.6816]) -Target: tensor([6.])----- Prediction: tensor([2.3679]) -Target: tensor([5.])----- Prediction: tensor([6.4106]) -Target: tensor([5.])----- Prediction: tensor([12.3476]) -Target: tensor([6.])----- Prediction: tensor([3.1205]) -Target: tensor([6.])----- Prediction: tensor([2.6261]) -Target: tensor([5.])----- Prediction: tensor([2.4900]) -Target: tensor([6.])----- Prediction: tensor([3.5584]) -Target: tensor([5.])----- Prediction: tensor([4.1916]) -Target: tensor([5.])----- Prediction: tensor([5.9044]) -Target: tensor([6.])----- Prediction: tensor([5.7723]) -Target: tensor([6.])----- Prediction: tensor([6.3909]) -Target: tensor([5.])----- Prediction: tensor([4.7932]) -Target: tensor([5.])----- Prediction: tensor([4.7548]) -Target: tensor([5.])----- Prediction: tensor([8.0386]) -Target: tensor([5.])----- Prediction: tensor([5.5603]) -Target: tensor([3.])----- Prediction: tensor([5.2508]) -Target: tensor([5.])----- Prediction: tensor([3.8790]) -Target: tensor([6.])----- Prediction: tensor([2.0702]) -Target: tensor([5.])----- Prediction: tensor([2.0624]) -Target: tensor([5.])----- Prediction: tensor([8.8042]) -Target: tensor([6.])----- Prediction: tensor([3.9469]) -Target: tensor([7.])----- Prediction: tensor([4.1208]) -Target: tensor([7.])----- Prediction: tensor([3.2084]) -Target: tensor([6.])----- Prediction: tensor([2.2332]) -Target: tensor([4.])----- Prediction: tensor([4.9973]) -Target: tensor([5.])----- Prediction: tensor([3.9620]) -Target: tensor([6.])----- Prediction: tensor([1.6706]) -Target: tensor([5.])----- Prediction: tensor([6.3914]) -Target: tensor([6.])----- Prediction: tensor([3.2084]) -Target: tensor([6.])----- Prediction: tensor([5.7970]) -Target: tensor([7.])----- Prediction: tensor([3.4445]) -Target: tensor([5.])----- Prediction: tensor([8.4952]) -Target: tensor([5.])----- Prediction: tensor([2.4870]) -Target: tensor([5.])----- Prediction: tensor([3.4096]) -Target: tensor([6.])----- Prediction: tensor([8.2855]) -Target: tensor([6.])----- Prediction: tensor([1.8462]) -Target: tensor([4.])----- Prediction: tensor([4.3964]) -Target: tensor([6.])----- Prediction: tensor([3.4177]) -Target: tensor([5.])----- Prediction: tensor([3.5993]) -Target: tensor([6.])----- Prediction: tensor([2.0421]) -Target: tensor([5.])----- Prediction: tensor([8.7133]) -Target: tensor([5.])----- Prediction: tensor([10.1540]) -Target: tensor([7.])----- Prediction: tensor([2.3574]) -Target: tensor([7.])----- Prediction: tensor([3.2022]) -Target: tensor([5.])----- Prediction: tensor([1.6709]) -Target: tensor([3.])----- Prediction: tensor([4.6296]) -Target: tensor([5.])----- Prediction: tensor([7.6198]) -Target: tensor([5.])----- Prediction: tensor([2.4627]) -Target: tensor([5.])----- Prediction: tensor([8.2276]) -Target: tensor([4.])----- Prediction: tensor([2.4551]) -Target: tensor([6.])----- Prediction: tensor([2.6208]) -Target: tensor([7.])----- Prediction: tensor([3.0895]) -Target: tensor([4.])----- Prediction: tensor([3.6925]) -Target: tensor([5.])----- Prediction: tensor([3.2303]) -Target: tensor([6.])----- Prediction: tensor([4.6480]) -Target: tensor([5.])----- Prediction: tensor([6.2549]) -Target: tensor([5.])----- Prediction: tensor([3.6234]) -Target: tensor([6.])----- Prediction: tensor([3.1382]) -Target: tensor([5.])----- Prediction: tensor([2.3479]) -Target: tensor([5.])----- Prediction: tensor([5.1068]) -Target: tensor([7.])----- Prediction: tensor([2.4958]) -Target: tensor([6.])----- Prediction: tensor([1.8829]) -Target: tensor([6.])----- Prediction: tensor([6.7703]) -Target: tensor([7.])----- Prediction: tensor([3.2449]) -Target: tensor([5.])----- Prediction: tensor([5.7864]) -Target: tensor([6.])----- Prediction: tensor([2.5621]) -Target: tensor([5.])----- Prediction: tensor([3.1336]) -Target: tensor([6.])----- Prediction: tensor([2.8112]) -Target: tensor([5.])----- Prediction: tensor([7.0639]) -Target: tensor([5.])----- Prediction: tensor([8.0485]) -Target: tensor([6.])----- Prediction: tensor([4.8817]) -Target: tensor([5.])----- Prediction: tensor([1.4661]) -Target: tensor([5.])----- Prediction: tensor([4.0572]) -Target: tensor([6.])----- Prediction: tensor([2.6261]) -Target: tensor([5.])----- Prediction: tensor([6.3413]) -Target: tensor([5.])----- Prediction: tensor([10.9089]) -Target: tensor([5.])----- Prediction: tensor([2.8428]) -Target: tensor([6.])----- Prediction: tensor([2.0931]) -Target: tensor([5.])----- Prediction: tensor([9.9907]) -Target: tensor([6.])----- Prediction: tensor([5.4379]) -Target: tensor([6.])----- Prediction: tensor([2.5430]) -Target: tensor([5.])----- Prediction: tensor([6.8091]) -Target: tensor([5.])----- Prediction: tensor([3.3554]) -Target: tensor([5.])----- Prediction: tensor([7.0773]) -Target: tensor([6.])----- Prediction: tensor([3.1898]) -Target: tensor([6.])----- Prediction: tensor([8.0325]) -Target: tensor([6.])----- Prediction: tensor([4.2776]) From 6058a59034a087a59474918b1dc3287b7392eae1 Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Mon, 9 May 2022 11:01:04 +0200 Subject: [PATCH 4/5] dont copy from create-dataset, only from trainig --- Jenkinsfile_evaluation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile_evaluation b/Jenkinsfile_evaluation index 606dabe..722ea7d 100644 --- a/Jenkinsfile_evaluation +++ b/Jenkinsfile_evaluation @@ -32,7 +32,7 @@ pipeline { } stage('Copy') { steps { - copyArtifacts projectName: 's444354-create-dataset' + //copyArtifacts projectName: 's444354-create-dataset' copyArtifacts projectName: "s444354-training/${params.BRANCH}/", selector: buildParameter('BUILD_SELECTOR'), optional: true sh 'python3 ./evaluation.py' archiveArtifacts 'eval.csv, metrics.png' From 5e2467f79dd6f0cda77f26d0332b19691d976b2d Mon Sep 17 00:00:00 2001 From: Adrian Charkiewicz Date: Mon, 9 May 2022 11:06:01 +0200 Subject: [PATCH 5/5] pytorch/ --- evaluation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluation.py b/evaluation.py index 57165d8..dd82aeb 100644 --- a/evaluation.py +++ b/evaluation.py @@ -4,7 +4,7 @@ from sklearn import metrics import numpy as np import csv import matplotlib.pyplot as plt -f = open("result.txt", "r") +f = open("pytorch/result.txt", "r") list_result, list_predicted=[],[] for x in f: