chore(Machine_Learning): clear notebook outputs and add .gitignore
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
node_modules/
|
||||||
|
.bun/
|
||||||
|
.moon/cache/
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
.codegraph/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
coverage/
|
||||||
|
*.tsbuildinfo
|
||||||
|
venv/
|
||||||
|
.DS_Store
|
||||||
|
dataset/
|
||||||
|
.claude/
|
||||||
|
dataset_split/
|
||||||
|
dataset_jagung.zip
|
||||||
+709
-396
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@ def build_clean_model(num_classes, img_size=(224, 224)):
|
|||||||
x = layers.Dense(1024, activation='swish')(x)
|
x = layers.Dense(1024, activation='swish')(x)
|
||||||
x = layers.BatchNormalization()(x)
|
x = layers.BatchNormalization()(x)
|
||||||
x = layers.Dropout(0.4)(x)
|
x = layers.Dropout(0.4)(x)
|
||||||
outputs = layers.Dense(num_classes, activation='sigmoid', dtype='float32')(x)
|
outputs = layers.Dense(num_classes, activation='softmax', dtype='float32')(x)
|
||||||
return models.Model(inputs, outputs)
|
return models.Model(inputs, outputs)
|
||||||
|
|
||||||
logging.info("=== EXPORT STARTED ===")
|
logging.info("=== EXPORT STARTED ===")
|
||||||
|
|||||||
Reference in New Issue
Block a user