diff --git a/.gitignore b/.gitignore index 9f2b62b..2a0bcf7 100644 --- a/.gitignore +++ b/.gitignore @@ -218,4 +218,6 @@ kaggle.json venv venv/* -training_1 \ No newline at end of file +training_1 + +Participants_Data_HPP/ \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 0261b70..271b6d1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,6 @@ pipeline { agent { - docker { - image 'mikolajk/ium:latest' - reuseNode false - } + docker { image 'mikolajk/ium:latest' } } parameters{ string( @@ -34,7 +31,7 @@ pipeline { stage("Shell Scripts") { steps { // sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh" - sh 'ls -la' + // sh 'ls -la' // sh './startscript1.sh' archiveArtifacts 'Participants_Data_HPP/**/*.*' } diff --git a/result.txt b/result.txt index 71b26cd..5e8bd00 100644 --- a/result.txt +++ b/result.txt @@ -1,2 +1,2 @@ -predictions: [134.86208, 68.69239, 155.70204, 62.195625, 730.1253, 899.66254, 68.2624, 178.28207, 245.94533, 799.8319] -expected: [ 52. 180. 68. 36.4 56.5 590. 110. 170. 160. 290. ] \ No newline at end of file +predictions: [84.40604, 472.22028, 106.96647, 141.08197, 105.62965, 55.602768, 107.484055, 185.62663, 48.709442, 86.00946] +expected: [190. 330. 78. 54.4 39. 69. 48. 200. 100. 85. ] \ No newline at end of file diff --git a/saved_model/my_model/keras_metadata.pb b/saved_model/my_model/keras_metadata.pb new file mode 100644 index 0000000..6a7766e --- /dev/null +++ b/saved_model/my_model/keras_metadata.pb @@ -0,0 +1,5 @@ + +root"_tf_keras_sequential*{"name": "sequential", "trainable": true, "expects_training_arg": true, "dtype": "float32", "batch_input_shape": null, "must_restore_from_config": false, "class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "normalization_input"}}, {"class_name": "Normalization", "config": {"name": "normalization", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "dtype": "float32", "axis": {"class_name": "__tuple__", "items": [-1]}, "mean": null, "variance": null}}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 1, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}}, "bias_initializer": {"class_name": "Zeros", "config": {}}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}}]}, "shared_object_id": 5, "input_spec": [{"class_name": "InputSpec", "config": {"dtype": null, "shape": {"class_name": "__tuple__", "items": [null, null]}, "ndim": 2, "max_ndim": null, "min_ndim": null, "axes": {}}}], "build_input_shape": {"class_name": "TensorShape", "items": [null, null]}, "is_graph_network": true, "full_save_spec": {"class_name": "__tuple__", "items": [[{"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, null]}, "float32", "normalization_input"]}], {}]}, "save_spec": {"class_name": "TypeSpec", "type_spec": "tf.TensorSpec", "serialized": [{"class_name": "TensorShape", "items": [null, null]}, "float32", "normalization_input"]}, "keras_version": "2.8.0", "backend": "tensorflow", "model_config": {"class_name": "Sequential", "config": {"name": "sequential", "layers": [{"class_name": "InputLayer", "config": {"batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "dtype": "float32", "sparse": false, "ragged": false, "name": "normalization_input"}, "shared_object_id": 0}, {"class_name": "Normalization", "config": {"name": "normalization", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "dtype": "float32", "axis": {"class_name": "__tuple__", "items": [-1]}, "mean": null, "variance": null}, "shared_object_id": 1}, {"class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 1, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 2}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 3}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 4}]}}, "training_config": {"loss": {"class_name": "MeanSquaredError", "config": {"reduction": "auto", "name": "mean_squared_error"}, "shared_object_id": 7}, "metrics": null, "weighted_metrics": null, "loss_weights": null, "optimizer_config": {"class_name": "Adam", "config": {"name": "Adam", "learning_rate": 1, "decay": 0.0, "beta_1": 0.8999999761581421, "beta_2": 0.9990000128746033, "epsilon": 1e-07, "amsgrad": false}}}}2 +root.layer_with_weights-0"_tf_keras_layer*{"name": "normalization", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "stateful": false, "must_restore_from_config": true, "class_name": "Normalization", "config": {"name": "normalization", "trainable": true, "batch_input_shape": {"class_name": "__tuple__", "items": [null, null]}, "dtype": "float32", "axis": {"class_name": "__tuple__", "items": [-1]}, "mean": null, "variance": null}, "shared_object_id": 1, "build_input_shape": {"class_name": "TensorShape", "items": [null, 8]}}2 +root.layer_with_weights-1"_tf_keras_layer*{"name": "dense", "trainable": true, "expects_training_arg": false, "dtype": "float32", "batch_input_shape": null, "stateful": false, "must_restore_from_config": false, "class_name": "Dense", "config": {"name": "dense", "trainable": true, "dtype": "float32", "units": 1, "activation": "linear", "use_bias": true, "kernel_initializer": {"class_name": "GlorotUniform", "config": {"seed": null}, "shared_object_id": 2}, "bias_initializer": {"class_name": "Zeros", "config": {}, "shared_object_id": 3}, "kernel_regularizer": null, "bias_regularizer": null, "activity_regularizer": null, "kernel_constraint": null, "bias_constraint": null}, "shared_object_id": 4, "input_spec": {"class_name": "InputSpec", "config": {"dtype": null, "shape": null, "ndim": null, "max_ndim": null, "min_ndim": 2, "axes": {"-1": 8}}, "shared_object_id": 8}, "build_input_shape": {"class_name": "TensorShape", "items": [null, 8]}}2 +-root.keras_api.metrics.0"_tf_keras_metric*{"class_name": "Mean", "name": "loss", "dtype": "float32", "config": {"name": "loss", "dtype": "float32"}, "shared_object_id": 9}2 \ No newline at end of file diff --git a/saved_model/my_model/saved_model.pb b/saved_model/my_model/saved_model.pb new file mode 100644 index 0000000..a0e0b8d Binary files /dev/null and b/saved_model/my_model/saved_model.pb differ diff --git a/saved_model/my_model/variables/variables.data-00000-of-00001 b/saved_model/my_model/variables/variables.data-00000-of-00001 new file mode 100644 index 0000000..62a1fd0 Binary files /dev/null and b/saved_model/my_model/variables/variables.data-00000-of-00001 differ diff --git a/saved_model/my_model/variables/variables.index b/saved_model/my_model/variables/variables.index new file mode 100644 index 0000000..835dd04 Binary files /dev/null and b/saved_model/my_model/variables/variables.index differ