Skip to content

Commit 15a9b66

Browse files
author
Divam Gupta
committed
a small fix
1 parent 8c0a9d2 commit 15a9b66

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Models/FCN32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def FCN32( n_classes , input_height=416, input_width=608 , vgg_level=3):
5858
x = Flatten(name='flatten')(x)
5959
x = Dense(4096, activation='relu', name='fc1')(x)
6060
x = Dense(4096, activation='relu', name='fc2')(x)
61-
x = Dense( 1024 , activation='softmax', name='predictions')(x)
61+
x = Dense( 1000 , activation='softmax', name='predictions')(x)
6262

6363
vgg = Model( img_input , x )
6464
vgg.load_weights(VGG_Weights_path)

Models/FCN8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def FCN8( nClasses , input_height=416, input_width=608 , vgg_level=3):
8282
x = Flatten(name='flatten')(x)
8383
x = Dense(4096, activation='relu', name='fc1')(x)
8484
x = Dense(4096, activation='relu', name='fc2')(x)
85-
x = Dense( 1024 , activation='softmax', name='predictions')(x)
85+
x = Dense( 1000 , activation='softmax', name='predictions')(x)
8686

8787
vgg = Model( img_input , x )
8888
vgg.load_weights(VGG_Weights_path)

Models/VGGSegnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def VGGSegnet( n_classes , input_height=416, input_width=608 , vgg_level=3):
5050
x = Flatten(name='flatten')(x)
5151
x = Dense(4096, activation='relu', name='fc1')(x)
5252
x = Dense(4096, activation='relu', name='fc2')(x)
53-
x = Dense( 1024 , activation='softmax', name='predictions')(x)
53+
x = Dense( 1000 , activation='softmax', name='predictions')(x)
5454

5555
vgg = Model( img_input , x )
5656
vgg.load_weights(VGG_Weights_path)

Models/VGGUnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def VGGUnet( n_classes , input_height=416, input_width=608 , vgg_level=3):
5252
x = Flatten(name='flatten')(x)
5353
x = Dense(4096, activation='relu', name='fc1')(x)
5454
x = Dense(4096, activation='relu', name='fc2')(x)
55-
x = Dense( 1024 , activation='softmax', name='predictions')(x)
55+
x = Dense( 1000 , activation='softmax', name='predictions')(x)
5656

5757
vgg = Model( img_input , x )
5858
vgg.load_weights(VGG_Weights_path)

0 commit comments

Comments
 (0)