Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhankai committed Mar 19, 2019
1 parent ab32107 commit a2be08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def init_classification(input_fea_map, dim_channel, nb_class, name=None):
pool = BatchNormalization()(pool)
pool = Activation('relu')(pool)
# classification
prob = Dropout(dropout)(pool)
pool = Dropout(dropout)(pool)
prob = Dense(nb_class)(pool)
prob = Activation(activation='softmax',name=name)(prob)
return prob,pool,fea_map
Expand Down

0 comments on commit a2be08e

Please sign in to comment.