Skip to content

Commit 274f974

Browse files
committed
made the network closer to the one described in the paper
1 parent f5f9753 commit 274f974

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/deep_bayesian_active_learning.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
from keras.wrappers.scikit_learn import KerasClassifier
99
from modAL.models import ActiveLearner
1010

11-
1211
def create_keras_model():
1312
model = Sequential()
14-
model.add(Conv2D(32, (3, 3), activation='relu'))
15-
model.add(Conv2D(32, (3, 3), activation='relu'))
16-
model.add(MaxPooling2D(pool_size=(5, 5)))
13+
model.add(Conv2D(32, (4, 4), activation='relu'))
14+
model.add(Conv2D(32, (4, 4), activation='relu'))
15+
model.add(MaxPooling2D(pool_size=(2, 2)))
1716
model.add(Dropout(0.25))
1817
model.add(Flatten())
1918
model.add(Dense(128, activation='relu'))

0 commit comments

Comments
 (0)