Spaces:
Sleeping
Sleeping
Okereke Kelechi Collins commited on
Commit ·
7eff19c
1
Parent(s): 64657e8
vgg16 model run
Browse files- confusion_matrix.txt +4 -0
- logs/running_logs.log +44 -0
- params.yaml +3 -2
- scores.json +18 -0
confusion_matrix.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
142 0 3 3
|
| 2 |
+
1 191 7 4
|
| 3 |
+
1 0 54 0
|
| 4 |
+
8 0 2 81
|
logs/running_logs.log
CHANGED
|
@@ -2145,3 +2145,47 @@ x==========x]
|
|
| 2145 |
[2026-05-26 19:41:26,198: INFO: main: >>>>> stage Evaluation Stage completed <<<<<
|
| 2146 |
|
| 2147 |
x==========x]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2145 |
[2026-05-26 19:41:26,198: INFO: main: >>>>> stage Evaluation Stage completed <<<<<
|
| 2146 |
|
| 2147 |
x==========x]
|
| 2148 |
+
[2026-05-26 19:59:54,806: INFO: main: >>>>> stage Data Ingestion Stage started <<<<<]
|
| 2149 |
+
[2026-05-26 19:59:54,807: INFO: common: yaml file: config/config.yaml loaded successfully]
|
| 2150 |
+
[2026-05-26 19:59:54,808: INFO: common: yaml file: params.yaml loaded successfully]
|
| 2151 |
+
[2026-05-26 19:59:54,809: INFO: common: created directory at: artifacts]
|
| 2152 |
+
[2026-05-26 19:59:54,809: INFO: common: created directory at: artifacts/data_ingestion]
|
| 2153 |
+
[2026-05-26 19:59:54,809: INFO: data_ingestion: Downloading data from https://drive.google.com/file/d/1TuNYhoDmnEpdAIjRJelYoPs4lSYtnAsr/view?usp=sharing into file artifacts/data_ingestion/data.zip]
|
| 2154 |
+
[2026-05-26 20:01:00,390: INFO: data_ingestion: Download data from https://drive.google.com/file/d/1TuNYhoDmnEpdAIjRJelYoPs4lSYtnAsr/view?usp=sharing into file artifacts/data_ingestion/data.zip]
|
| 2155 |
+
[2026-05-26 20:01:12,257: INFO: main: >>>>> stage Data Ingestion Stage completed <<<<<
|
| 2156 |
+
|
| 2157 |
+
x==========x]
|
| 2158 |
+
[2026-05-26 20:01:12,259: INFO: main: *******************]
|
| 2159 |
+
[2026-05-26 20:01:12,259: INFO: main: >>>>> stage Prepare Base Model started <<<<<]
|
| 2160 |
+
[2026-05-26 20:01:12,260: INFO: common: yaml file: config/config.yaml loaded successfully]
|
| 2161 |
+
[2026-05-26 20:01:12,261: INFO: common: yaml file: params.yaml loaded successfully]
|
| 2162 |
+
[2026-05-26 20:01:12,261: INFO: common: created directory at: artifacts]
|
| 2163 |
+
[2026-05-26 20:01:12,261: INFO: common: created directory at: artifacts/prepare_base_model]
|
| 2164 |
+
[2026-05-26 20:01:12,655: INFO: main: >>>>> stage Prepare Base Model completed <<<<<
|
| 2165 |
+
|
| 2166 |
+
x==========x]
|
| 2167 |
+
[2026-05-26 20:01:12,655: INFO: main: ********************]
|
| 2168 |
+
[2026-05-26 20:01:12,655: INFO: main: >>>>> stage Training started <<<<<]
|
| 2169 |
+
[2026-05-26 20:01:12,656: INFO: common: yaml file: config/config.yaml loaded successfully]
|
| 2170 |
+
[2026-05-26 20:01:12,657: INFO: common: yaml file: params.yaml loaded successfully]
|
| 2171 |
+
[2026-05-26 20:01:12,657: INFO: common: created directory at: artifacts]
|
| 2172 |
+
[2026-05-26 20:01:12,657: INFO: common: created directory at: artifacts/training]
|
| 2173 |
+
[2026-05-28 07:31:55,031: INFO: main: >>>>> stage Training completed <<<<<
|
| 2174 |
+
|
| 2175 |
+
x==========x]
|
| 2176 |
+
[2026-05-28 07:31:55,037: INFO: main: ********************]
|
| 2177 |
+
[2026-05-28 07:31:55,037: INFO: main: >>>>> stage Evaluation Stage started <<<<<]
|
| 2178 |
+
[2026-05-28 07:31:55,051: INFO: common: yaml file: config/config.yaml loaded successfully]
|
| 2179 |
+
[2026-05-28 07:31:55,054: INFO: common: yaml file: params.yaml loaded successfully]
|
| 2180 |
+
[2026-05-28 07:31:55,056: INFO: common: created directory at: artifacts]
|
| 2181 |
+
[2026-05-28 07:33:35,826: INFO: common: json file saved at: scores.json]
|
| 2182 |
+
[2026-05-28 07:33:35,827: INFO: common: json file saved at: scores.json]
|
| 2183 |
+
[2026-05-28 07:33:36,546: INFO: _client: HTTP Request: GET https://dagshub.com/api/v1/user "HTTP/1.1 200 OK"]
|
| 2184 |
+
[2026-05-28 07:33:36,561: INFO: helpers: Accessing as MicroPyscho]
|
| 2185 |
+
[2026-05-28 07:33:37,213: INFO: _client: HTTP Request: GET https://dagshub.com/api/v1/repos/MicroPyscho/renal_tumour_project "HTTP/1.1 200 OK"]
|
| 2186 |
+
[2026-05-28 07:33:37,751: INFO: _client: HTTP Request: GET https://dagshub.com/api/v1/user "HTTP/1.1 200 OK"]
|
| 2187 |
+
[2026-05-28 07:33:37,756: INFO: helpers: Initialized MLflow to track repo "MicroPyscho/renal_tumour_project"]
|
| 2188 |
+
[2026-05-28 07:33:37,757: INFO: helpers: Repository MicroPyscho/renal_tumour_project initialized!]
|
| 2189 |
+
[2026-05-28 07:34:43,093: INFO: main: >>>>> stage Evaluation Stage completed <<<<<
|
| 2190 |
+
|
| 2191 |
+
x==========x]
|
params.yaml
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
AUGMENTATION: True
|
| 2 |
-
IMAGE_SIZE: [224, 224, 3] #as per
|
| 3 |
BATCH_SIZE: 24
|
| 4 |
INCLUDE_TOP: False
|
| 5 |
EPOCHS: 100
|
| 6 |
CLASSES: 4
|
| 7 |
WEIGHTS: imagenet
|
| 8 |
LEARNING_RATE: 0.0001
|
| 9 |
-
MODEL_NAME:
|
|
|
|
|
|
| 1 |
AUGMENTATION: True
|
| 2 |
+
IMAGE_SIZE: [224, 224, 3] #as per VGG16 model
|
| 3 |
BATCH_SIZE: 24
|
| 4 |
INCLUDE_TOP: False
|
| 5 |
EPOCHS: 100
|
| 6 |
CLASSES: 4
|
| 7 |
WEIGHTS: imagenet
|
| 8 |
LEARNING_RATE: 0.0001
|
| 9 |
+
MODEL_NAME: VGG16
|
| 10 |
+
|
scores.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"val_loss": 0.24025939404964447,
|
| 3 |
+
"val_accuracy": 0.9416499137878418,
|
| 4 |
+
"precision_cyst": 0.9342105263157895,
|
| 5 |
+
"recall_cyst": 0.9594594594594594,
|
| 6 |
+
"f1_cyst": 0.9466666666666667,
|
| 7 |
+
"precision_normal": 1.0,
|
| 8 |
+
"recall_normal": 0.9408866995073891,
|
| 9 |
+
"f1_normal": 0.9695431472081218,
|
| 10 |
+
"precision_stone": 0.8181818181818182,
|
| 11 |
+
"recall_stone": 0.9818181818181818,
|
| 12 |
+
"f1_stone": 0.8925619834710744,
|
| 13 |
+
"precision_tumor": 0.9204545454545454,
|
| 14 |
+
"recall_tumor": 0.8901098901098901,
|
| 15 |
+
"f1_tumor": 0.9050279329608939,
|
| 16 |
+
"macro_f1": 0.9284499325766892,
|
| 17 |
+
"weighted_f1": 0.9423991479683417
|
| 18 |
+
}
|