feat: Update main with the latest model
Browse files- .gitattributes +1 -0
- README.md +28 -16
- config.json +24 -19
- metrics.json +5 -5
- trashnet.keras +3 -0
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
models/trashnet_v1.2/trashnet_v1.2.keras filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
models/trashnet_v1.2/trashnet_v1.2.keras filter=lfs diff=lfs merge=lfs -text
|
37 |
+
trashnet.keras filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,16 +1,28 @@
|
|
1 |
-
---
|
2 |
-
datasets:
|
3 |
-
-
|
4 |
-
metrics:
|
5 |
-
- accuracy
|
6 |
-
pipeline_tag: image-classification
|
7 |
-
---
|
8 |
-
|
9 |
-
# Model Version 1.
|
10 |
-
Created on: 2024-12-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
- *
|
16 |
-
- *
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
datasets:
|
3 |
+
- garythung/trashnet
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
pipeline_tag: image-classification
|
7 |
+
---
|
8 |
+
|
9 |
+
# Model Version 1.2
|
10 |
+
Created on: 2024-12-21 21:58:40
|
11 |
+
|
12 |
+
```
|
13 |
+
|
14 |
+
## Metrics
|
15 |
+
- *train_loss*: 0.5705
|
16 |
+
- *train_accuracy*: 0.7812
|
17 |
+
- *val_loss*: 0.5975
|
18 |
+
- *val_accuracy*: 0.7752
|
19 |
+
|
20 |
+
## Configuration
|
21 |
+
- **architecture**: Tensorflow CNN
|
22 |
+
- **input_size**: (224, 224, 3)
|
23 |
+
- **num_classes**: 6
|
24 |
+
- **augmentation**: {'rotation_range': 20, 'width_shift_range': 0.2, 'height_shift_range': 0.2, 'horizontal_flip': True, 'vertical_flip': True, 'shear_range': 0.2, 'brightness_range': [0.8, 1.2]}
|
25 |
+
- **optimizer**: adam
|
26 |
+
- **learning_rate**: 0.001
|
27 |
+
- **batch_size**: 32
|
28 |
+
- **epochs**: 50
|
config.json
CHANGED
@@ -1,20 +1,25 @@
|
|
1 |
-
{
|
2 |
-
"architecture": "
|
3 |
-
"input_size": [
|
4 |
-
224,
|
5 |
-
224
|
6 |
-
|
7 |
-
|
8 |
-
"
|
9 |
-
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|
|
|
1 |
+
{
|
2 |
+
"architecture": "Tensorflow CNN",
|
3 |
+
"input_size": [
|
4 |
+
224,
|
5 |
+
224,
|
6 |
+
3
|
7 |
+
],
|
8 |
+
"num_classes": 6,
|
9 |
+
"augmentation": {
|
10 |
+
"rotation_range": 20,
|
11 |
+
"width_shift_range": 0.2,
|
12 |
+
"height_shift_range": 0.2,
|
13 |
+
"horizontal_flip": true,
|
14 |
+
"vertical_flip": true,
|
15 |
+
"shear_range": 0.2,
|
16 |
+
"brightness_range": [
|
17 |
+
0.8,
|
18 |
+
1.2
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"optimizer": "adam",
|
22 |
+
"learning_rate": 0.001,
|
23 |
+
"batch_size": 32,
|
24 |
+
"epochs": 50
|
25 |
}
|
metrics.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
{
|
2 |
-
"train_loss": 0.
|
3 |
-
"train_accuracy":
|
4 |
-
"val_loss": 0.
|
5 |
-
"val_accuracy":
|
6 |
}
|
|
|
1 |
+
{
|
2 |
+
"train_loss": 0.5704573392868042,
|
3 |
+
"train_accuracy": 0.78125,
|
4 |
+
"val_loss": 0.5974659323692322,
|
5 |
+
"val_accuracy": 0.7752016186714172
|
6 |
}
|
trashnet.keras
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e51e07f0c49eb33e234473e74cfa0175a0e773d4376b0a2dc43d1c2090dda072
|
3 |
+
size 155352521
|