Skip to content

Commit

Permalink
Update inception_v4.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent Sommer authored Feb 3, 2017
1 parent 1c143c1 commit f4c8302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inception_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# Implements the Inception Network v4 (http://arxiv.org/pdf/1602.07261v1.pdf) in Keras. #
#########################################################################################

TH_WEIGHTS_PATH = 'https://github.com/kentsommer/keras-inceptionV4/releases/download/1.0/inception-v4_weights_th_dim_ordering_th_kernels.h5'
TF_WEIGHTS_PATH = 'https://github.com/kentsommer/keras-inceptionV4/releases/download/1.0/inception-v4_weights_tf_dim_ordering_tf_kernels.h5'
TH_WEIGHTS_PATH = 'https://github.com/kentsommer/keras-inceptionV4/releases/download/2.0/inception-v4_weights_th_dim_ordering_th_kernels.h5'
TF_WEIGHTS_PATH = 'https://github.com/kentsommer/keras-inceptionV4/releases/download/2.0/inception-v4_weights_tf_dim_ordering_tf_kernels.h5'

def conv2d_bn(x, nb_filter, nb_row, nb_col,
border_mode='same', subsample=(1, 1), bias=False):
Expand Down Expand Up @@ -273,4 +273,4 @@ def inception_v4(num_classes, dropout_keep_prob, weights):
return model

def create_model(num_classes=1001, dropout_keep_prob=0.8, weights=None):
return inception_v4(num_classes, dropout_keep_prob, weights)
return inception_v4(num_classes, dropout_keep_prob, weights)

0 comments on commit f4c8302

Please sign in to comment.