Skip to content

Commit

Permalink
a small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Divam Gupta committed Sep 30, 2017
1 parent 8c0a9d2 commit 15a9b66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Models/FCN32.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def FCN32( n_classes , input_height=416, input_width=608 , vgg_level=3):
x = Flatten(name='flatten')(x)
x = Dense(4096, activation='relu', name='fc1')(x)
x = Dense(4096, activation='relu', name='fc2')(x)
x = Dense( 1024 , activation='softmax', name='predictions')(x)
x = Dense( 1000 , activation='softmax', name='predictions')(x)

vgg = Model( img_input , x )
vgg.load_weights(VGG_Weights_path)
Expand Down
2 changes: 1 addition & 1 deletion Models/FCN8.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def FCN8( nClasses , input_height=416, input_width=608 , vgg_level=3):
x = Flatten(name='flatten')(x)
x = Dense(4096, activation='relu', name='fc1')(x)
x = Dense(4096, activation='relu', name='fc2')(x)
x = Dense( 1024 , activation='softmax', name='predictions')(x)
x = Dense( 1000 , activation='softmax', name='predictions')(x)

vgg = Model( img_input , x )
vgg.load_weights(VGG_Weights_path)
Expand Down
2 changes: 1 addition & 1 deletion Models/VGGSegnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def VGGSegnet( n_classes , input_height=416, input_width=608 , vgg_level=3):
x = Flatten(name='flatten')(x)
x = Dense(4096, activation='relu', name='fc1')(x)
x = Dense(4096, activation='relu', name='fc2')(x)
x = Dense( 1024 , activation='softmax', name='predictions')(x)
x = Dense( 1000 , activation='softmax', name='predictions')(x)

vgg = Model( img_input , x )
vgg.load_weights(VGG_Weights_path)
Expand Down
2 changes: 1 addition & 1 deletion Models/VGGUnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def VGGUnet( n_classes , input_height=416, input_width=608 , vgg_level=3):
x = Flatten(name='flatten')(x)
x = Dense(4096, activation='relu', name='fc1')(x)
x = Dense(4096, activation='relu', name='fc2')(x)
x = Dense( 1024 , activation='softmax', name='predictions')(x)
x = Dense( 1000 , activation='softmax', name='predictions')(x)

vgg = Model( img_input , x )
vgg.load_weights(VGG_Weights_path)
Expand Down

0 comments on commit 15a9b66

Please sign in to comment.