Raditsoic commited on
Commit
7f61b8d
·
verified ·
1 Parent(s): 5207859

feat: Update main with the latest model

Browse files
Files changed (5) hide show
  1. .gitattributes +1 -0
  2. README.md +28 -16
  3. config.json +24 -19
  4. metrics.json +5 -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
- - garythuang/trashnet
4
- metrics:
5
- - accuracy
6
- pipeline_tag: image-classification
7
- ---
8
-
9
- # Model Version 1.1
10
- Created on: 2024-12-20 19:53:42
11
-
12
- ## Metrics
13
- - *train_loss*: 0.7815648026353731
14
- - *train_accuracy*: 72.17412812268118
15
- - *val_loss*: 0.9300829283893108
16
- - *val_accuracy*: 67.06231454005935
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Custom CNN",
3
- "input_size": [
4
- 224,
5
- 224
6
- ],
7
- "num_classes": 6,
8
- "transformations": [
9
- "RandomHorizontalFlip",
10
- "RandomRotation(15)",
11
- "ColorJitter(brightness=0.2, contrast=0.2)",
12
- "Resize(224x224)",
13
- "ToTensor",
14
- "Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])"
15
- ],
16
- "optimizer": "Adam",
17
- "learning_rate": 0.001,
18
- "batch_size": 32,
19
- "epochs": 10
 
 
 
 
 
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.7815648026353731,
3
- "train_accuracy": 72.17412812268118,
4
- "val_loss": 0.9300829283893108,
5
- "val_accuracy": 67.06231454005935
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