Commit 556b2eee authored by sjjsmuel's avatar sjjsmuel

dropout

parent 576a0596
......@@ -31,9 +31,9 @@ class Resnet152(NetworkBase):
x = AveragePooling2D((14, 14), name='avg_pool')(base_model.output)
x = Flatten()(x)
x = Dropout(0.7)(x)
x = Dropout(0.5)(x)
x = Dense(65536, activation='relu')(x)
x = Dropout(0.7)(x)
x = Dropout(0.5)(x)
x = Dense(1024, activation='relu')(x)
x = Dropout(0.7)(x)
out = Dense(self.NUM_CLASSES, activation='softmax')(x)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment