gihakkk commited on
Commit
246c288
1 Parent(s): 1d336bf

Upload 2 files

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. cnn_similarity_model.keras +3 -0
  3. config.json +59 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip 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
 
 
33
  *.zip 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
+ cnn_similarity_model.keras filter=lfs diff=lfs merge=lfs -text
cnn_similarity_model.keras ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd5a1c5d1696356eadc8803746442872bd09f175232a96382783cb166b15d5c9
3
+ size 83637327
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "cnn",
3
+ "input_shape": [152, 152, 3],
4
+ "conv_layers": [
5
+ {
6
+ "filters": 32,
7
+ "kernel_size": [3, 3],
8
+ "activation": "relu",
9
+ "pool_size": [2, 2]
10
+ },
11
+ {
12
+ "filters": 64,
13
+ "kernel_size": [3, 3],
14
+ "activation": "relu",
15
+ "pool_size": [2, 2]
16
+ },
17
+ {
18
+ "filters": 128,
19
+ "kernel_size": [3, 3],
20
+ "activation": "relu",
21
+ "pool_size": [2, 2]
22
+ }
23
+ ],
24
+ "dense_layers": [
25
+ {
26
+ "units": 64,
27
+ "activation": "relu"
28
+ }
29
+ ],
30
+ "output_layer": {
31
+ "units": 69216,
32
+ "activation": "sigmoid"
33
+ },
34
+ "reshape_layer": {
35
+ "target_shape": [152, 152, 3]
36
+ },
37
+ "compile": {
38
+ "optimizer": "adam",
39
+ "loss": "mean_squared_error"
40
+ },
41
+ "data_augmentation": {
42
+ "rescale": 1.0,
43
+ "horizontal_flip": true,
44
+ "rotation_range": 20,
45
+ "zoom_range": 0.2,
46
+ "shear_range": 0.2,
47
+ "brightness_range": [0.8, 1.2]
48
+ },
49
+ "training": {
50
+ "batch_size": 10,
51
+ "target_size": [152, 152],
52
+ "epochs": 50,
53
+ "steps_per_epoch": "auto",
54
+ "validation_steps": "auto"
55
+ },
56
+ "save_path": "cnn_similarity_model.keras",
57
+ "similarity_metric": "euclidean"
58
+ }
59
+