使用MobileNetV3的PSPNet网络结构

简介: 使用MobileNetV3的PSPNet网络结构

backbone使用MobileNetV3,第一层输入filter个数32,输出大小320,alpha=1

手绘结构:

Keras结构打印:


Layer (type)                                     Output Shape                     Param #           Connected to                                      

======================================================================================================================================================

input_1 (InputLayer)                             (None, 473, 473, 3)              0                                                                  

______________________________________________________________________________________________________________________________________________________

Conv (Conv2D)                                    (None, 237, 237, 32)             864               input_1[0][0]                                    

______________________________________________________________________________________________________________________________________________________

Conv_BN (BatchNormalization)                     (None, 237, 237, 32)             128               Conv[0][0]                                        

______________________________________________________________________________________________________________________________________________________

Conv_Relu6 (Activation)                          (None, 237, 237, 32)             0                 Conv_BN[0][0]                                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_depthwise (DepthwiseConv2D)        (None, 237, 237, 32)             288               Conv_Relu6[0][0]                                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_depthwise_BN (BatchNormalization)  (None, 237, 237, 32)             128               expanded_conv_depthwise[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_depthwise_relu (Activation)        (None, 237, 237, 32)             0                 expanded_conv_depthwise_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_project (Conv2D)                   (None, 237, 237, 16)             512               expanded_conv_depthwise_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_project_BN (BatchNormalization)    (None, 237, 237, 16)             64                expanded_conv_project[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_expand (Conv2D)                  (None, 237, 237, 96)             1536              expanded_conv_project_BN[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_expand_BN (BatchNormalization)   (None, 237, 237, 96)             384               expanded_conv_1_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_expand_relu (Activation)         (None, 237, 237, 96)             0                 expanded_conv_1_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_depthwise (DepthwiseConv2D)      (None, 119, 119, 96)             864               expanded_conv_1_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_depthwise_BN (BatchNormalization (None, 119, 119, 96)             384               expanded_conv_1_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_depthwise_relu (Activation)      (None, 119, 119, 96)             0                 expanded_conv_1_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_project (Conv2D)                 (None, 119, 119, 24)             2304              expanded_conv_1_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_1_project_BN (BatchNormalization)  (None, 119, 119, 24)             96                expanded_conv_1_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_expand (Conv2D)                  (None, 119, 119, 144)            3456              expanded_conv_1_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_expand_BN (BatchNormalization)   (None, 119, 119, 144)            576               expanded_conv_2_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_expand_relu (Activation)         (None, 119, 119, 144)            0                 expanded_conv_2_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_depthwise (DepthwiseConv2D)      (None, 119, 119, 144)            1296              expanded_conv_2_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_depthwise_BN (BatchNormalization (None, 119, 119, 144)            576               expanded_conv_2_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_depthwise_relu (Activation)      (None, 119, 119, 144)            0                 expanded_conv_2_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_project (Conv2D)                 (None, 119, 119, 24)             3456              expanded_conv_2_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_project_BN (BatchNormalization)  (None, 119, 119, 24)             96                expanded_conv_2_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_2_add (Add)                        (None, 119, 119, 24)             0                 expanded_conv_1_project_BN[0][0]                  

                                                                                                   expanded_conv_2_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_expand (Conv2D)                  (None, 119, 119, 144)            3456              expanded_conv_2_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_expand_BN (BatchNormalization)   (None, 119, 119, 144)            576               expanded_conv_3_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_expand_relu (Activation)         (None, 119, 119, 144)            0                 expanded_conv_3_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_depthwise (DepthwiseConv2D)      (None, 60, 60, 144)              1296              expanded_conv_3_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_depthwise_BN (BatchNormalization (None, 60, 60, 144)              576               expanded_conv_3_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_depthwise_relu (Activation)      (None, 60, 60, 144)              0                 expanded_conv_3_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_project (Conv2D)                 (None, 60, 60, 32)               4608              expanded_conv_3_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_3_project_BN (BatchNormalization)  (None, 60, 60, 32)               128               expanded_conv_3_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_expand (Conv2D)                  (None, 60, 60, 192)              6144              expanded_conv_3_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_expand_BN (BatchNormalization)   (None, 60, 60, 192)              768               expanded_conv_4_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_expand_relu (Activation)         (None, 60, 60, 192)              0                 expanded_conv_4_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_depthwise (DepthwiseConv2D)      (None, 60, 60, 192)              1728              expanded_conv_4_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_depthwise_BN (BatchNormalization (None, 60, 60, 192)              768               expanded_conv_4_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_depthwise_relu (Activation)      (None, 60, 60, 192)              0                 expanded_conv_4_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_project (Conv2D)                 (None, 60, 60, 32)               6144              expanded_conv_4_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_project_BN (BatchNormalization)  (None, 60, 60, 32)               128               expanded_conv_4_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_4_add (Add)                        (None, 60, 60, 32)               0                 expanded_conv_3_project_BN[0][0]                  

                                                                                                   expanded_conv_4_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_expand (Conv2D)                  (None, 60, 60, 192)              6144              expanded_conv_4_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_expand_BN (BatchNormalization)   (None, 60, 60, 192)              768               expanded_conv_5_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_expand_relu (Activation)         (None, 60, 60, 192)              0                 expanded_conv_5_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_depthwise (DepthwiseConv2D)      (None, 60, 60, 192)              1728              expanded_conv_5_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_depthwise_BN (BatchNormalization (None, 60, 60, 192)              768               expanded_conv_5_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_depthwise_relu (Activation)      (None, 60, 60, 192)              0                 expanded_conv_5_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_project (Conv2D)                 (None, 60, 60, 32)               6144              expanded_conv_5_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_project_BN (BatchNormalization)  (None, 60, 60, 32)               128               expanded_conv_5_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_5_add (Add)                        (None, 60, 60, 32)               0                 expanded_conv_4_add[0][0]                        

                                                                                                   expanded_conv_5_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_expand (Conv2D)                  (None, 60, 60, 192)              6144              expanded_conv_5_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_expand_BN (BatchNormalization)   (None, 60, 60, 192)              768               expanded_conv_6_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_expand_relu (Activation)         (None, 60, 60, 192)              0                 expanded_conv_6_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_depthwise (DepthwiseConv2D)      (None, 30, 30, 192)              1728              expanded_conv_6_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_depthwise_BN (BatchNormalization (None, 30, 30, 192)              768               expanded_conv_6_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_depthwise_relu (Activation)      (None, 30, 30, 192)              0                 expanded_conv_6_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_project (Conv2D)                 (None, 30, 30, 64)               12288             expanded_conv_6_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_6_project_BN (BatchNormalization)  (None, 30, 30, 64)               256               expanded_conv_6_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_expand (Conv2D)                  (None, 30, 30, 384)              24576             expanded_conv_6_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_expand_BN (BatchNormalization)   (None, 30, 30, 384)              1536              expanded_conv_7_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_expand_relu (Activation)         (None, 30, 30, 384)              0                 expanded_conv_7_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_depthwise (DepthwiseConv2D)      (None, 30, 30, 384)              3456              expanded_conv_7_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_depthwise_BN (BatchNormalization (None, 30, 30, 384)              1536              expanded_conv_7_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_depthwise_relu (Activation)      (None, 30, 30, 384)              0                 expanded_conv_7_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_project (Conv2D)                 (None, 30, 30, 64)               24576             expanded_conv_7_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_project_BN (BatchNormalization)  (None, 30, 30, 64)               256               expanded_conv_7_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_7_add (Add)                        (None, 30, 30, 64)               0                 expanded_conv_6_project_BN[0][0]                  

                                                                                                   expanded_conv_7_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_expand (Conv2D)                  (None, 30, 30, 384)              24576             expanded_conv_7_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_expand_BN (BatchNormalization)   (None, 30, 30, 384)              1536              expanded_conv_8_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_expand_relu (Activation)         (None, 30, 30, 384)              0                 expanded_conv_8_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_depthwise (DepthwiseConv2D)      (None, 30, 30, 384)              3456              expanded_conv_8_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_depthwise_BN (BatchNormalization (None, 30, 30, 384)              1536              expanded_conv_8_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_depthwise_relu (Activation)      (None, 30, 30, 384)              0                 expanded_conv_8_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_project (Conv2D)                 (None, 30, 30, 64)               24576             expanded_conv_8_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_project_BN (BatchNormalization)  (None, 30, 30, 64)               256               expanded_conv_8_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_8_add (Add)                        (None, 30, 30, 64)               0                 expanded_conv_7_add[0][0]                        

                                                                                                   expanded_conv_8_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_expand (Conv2D)                  (None, 30, 30, 384)              24576             expanded_conv_8_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_expand_BN (BatchNormalization)   (None, 30, 30, 384)              1536              expanded_conv_9_expand[0][0]                      

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_expand_relu (Activation)         (None, 30, 30, 384)              0                 expanded_conv_9_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_depthwise (DepthwiseConv2D)      (None, 30, 30, 384)              3456              expanded_conv_9_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_depthwise_BN (BatchNormalization (None, 30, 30, 384)              1536              expanded_conv_9_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_depthwise_relu (Activation)      (None, 30, 30, 384)              0                 expanded_conv_9_depthwise_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_project (Conv2D)                 (None, 30, 30, 64)               24576             expanded_conv_9_depthwise_relu[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_project_BN (BatchNormalization)  (None, 30, 30, 64)               256               expanded_conv_9_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_9_add (Add)                        (None, 30, 30, 64)               0                 expanded_conv_8_add[0][0]                        

                                                                                                   expanded_conv_9_project_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_expand (Conv2D)                 (None, 30, 30, 384)              24576             expanded_conv_9_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_expand_BN (BatchNormalization)  (None, 30, 30, 384)              1536              expanded_conv_10_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_expand_relu (Activation)        (None, 30, 30, 384)              0                 expanded_conv_10_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_depthwise (DepthwiseConv2D)     (None, 30, 30, 384)              3456              expanded_conv_10_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_depthwise_BN (BatchNormalizatio (None, 30, 30, 384)              1536              expanded_conv_10_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_depthwise_relu (Activation)     (None, 30, 30, 384)              0                 expanded_conv_10_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_project (Conv2D)                (None, 30, 30, 96)               36864             expanded_conv_10_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_10_project_BN (BatchNormalization) (None, 30, 30, 96)               384               expanded_conv_10_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_expand (Conv2D)                 (None, 30, 30, 576)              55296             expanded_conv_10_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_expand_BN (BatchNormalization)  (None, 30, 30, 576)              2304              expanded_conv_11_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_expand_relu (Activation)        (None, 30, 30, 576)              0                 expanded_conv_11_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_depthwise (DepthwiseConv2D)     (None, 30, 30, 576)              5184              expanded_conv_11_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_depthwise_BN (BatchNormalizatio (None, 30, 30, 576)              2304              expanded_conv_11_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_depthwise_relu (Activation)     (None, 30, 30, 576)              0                 expanded_conv_11_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_project (Conv2D)                (None, 30, 30, 96)               55296             expanded_conv_11_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_project_BN (BatchNormalization) (None, 30, 30, 96)               384               expanded_conv_11_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_11_add (Add)                       (None, 30, 30, 96)               0                 expanded_conv_10_project_BN[0][0]                

                                                                                                   expanded_conv_11_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_expand (Conv2D)                 (None, 30, 30, 576)              55296             expanded_conv_11_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_expand_BN (BatchNormalization)  (None, 30, 30, 576)              2304              expanded_conv_12_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_expand_relu (Activation)        (None, 30, 30, 576)              0                 expanded_conv_12_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_depthwise (DepthwiseConv2D)     (None, 30, 30, 576)              5184              expanded_conv_12_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_depthwise_BN (BatchNormalizatio (None, 30, 30, 576)              2304              expanded_conv_12_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_depthwise_relu (Activation)     (None, 30, 30, 576)              0                 expanded_conv_12_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_project (Conv2D)                (None, 30, 30, 96)               55296             expanded_conv_12_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_project_BN (BatchNormalization) (None, 30, 30, 96)               384               expanded_conv_12_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_12_add (Add)                       (None, 30, 30, 96)               0                 expanded_conv_11_add[0][0]                        

                                                                                                   expanded_conv_12_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_expand (Conv2D)                 (None, 30, 30, 576)              55296             expanded_conv_12_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_expand_BN (BatchNormalization)  (None, 30, 30, 576)              2304              expanded_conv_13_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_expand_relu (Activation)        (None, 30, 30, 576)              0                 expanded_conv_13_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_depthwise (DepthwiseConv2D)     (None, 30, 30, 576)              5184              expanded_conv_13_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_depthwise_BN (BatchNormalizatio (None, 30, 30, 576)              2304              expanded_conv_13_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_depthwise_relu (Activation)     (None, 30, 30, 576)              0                 expanded_conv_13_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_project (Conv2D)                (None, 30, 30, 160)              92160             expanded_conv_13_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_13_project_BN (BatchNormalization) (None, 30, 30, 160)              640               expanded_conv_13_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_expand (Conv2D)                 (None, 30, 30, 960)              153600            expanded_conv_13_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_expand_BN (BatchNormalization)  (None, 30, 30, 960)              3840              expanded_conv_14_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_expand_relu (Activation)        (None, 30, 30, 960)              0                 expanded_conv_14_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_depthwise (DepthwiseConv2D)     (None, 30, 30, 960)              8640              expanded_conv_14_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_depthwise_BN (BatchNormalizatio (None, 30, 30, 960)              3840              expanded_conv_14_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_depthwise_relu (Activation)     (None, 30, 30, 960)              0                 expanded_conv_14_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_project (Conv2D)                (None, 30, 30, 160)              153600            expanded_conv_14_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_project_BN (BatchNormalization) (None, 30, 30, 160)              640               expanded_conv_14_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_14_add (Add)                       (None, 30, 30, 160)              0                 expanded_conv_13_project_BN[0][0]                

                                                                                                   expanded_conv_14_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_expand (Conv2D)                 (None, 30, 30, 960)              153600            expanded_conv_14_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_expand_BN (BatchNormalization)  (None, 30, 30, 960)              3840              expanded_conv_15_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_expand_relu (Activation)        (None, 30, 30, 960)              0                 expanded_conv_15_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_depthwise (DepthwiseConv2D)     (None, 30, 30, 960)              8640              expanded_conv_15_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_depthwise_BN (BatchNormalizatio (None, 30, 30, 960)              3840              expanded_conv_15_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_depthwise_relu (Activation)     (None, 30, 30, 960)              0                 expanded_conv_15_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_project (Conv2D)                (None, 30, 30, 160)              153600            expanded_conv_15_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_project_BN (BatchNormalization) (None, 30, 30, 160)              640               expanded_conv_15_project[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_15_add (Add)                       (None, 30, 30, 160)              0                 expanded_conv_14_add[0][0]                        

                                                                                                   expanded_conv_15_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_expand (Conv2D)                 (None, 30, 30, 960)              153600            expanded_conv_15_add[0][0]                        

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_expand_BN (BatchNormalization)  (None, 30, 30, 960)              3840              expanded_conv_16_expand[0][0]                    

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_expand_relu (Activation)        (None, 30, 30, 960)              0                 expanded_conv_16_expand_BN[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_depthwise (DepthwiseConv2D)     (None, 30, 30, 960)              8640              expanded_conv_16_expand_relu[0][0]                

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_depthwise_BN (BatchNormalizatio (None, 30, 30, 960)              3840              expanded_conv_16_depthwise[0][0]                  

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_depthwise_relu (Activation)     (None, 30, 30, 960)              0                 expanded_conv_16_depthwise_BN[0][0]              

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_project (Conv2D)                (None, 30, 30, 320)              307200            expanded_conv_16_depthwise_relu[0][0]            

______________________________________________________________________________________________________________________________________________________

expanded_conv_16_project_BN (BatchNormalization) (None, 30, 30, 320)              1280              expanded_conv_16_project[0][0]                    



______________________________________________________________________________________________________________________________________________________

average_pooling2d_1 (AveragePooling2D)           (None, 1, 1, 320)                0                 expanded_conv_16_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

average_pooling2d_2 (AveragePooling2D)           (None, 2, 2, 320)                0                 expanded_conv_16_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

average_pooling2d_3 (AveragePooling2D)           (None, 3, 3, 320)                0                 expanded_conv_16_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

average_pooling2d_4 (AveragePooling2D)           (None, 6, 6, 320)                0                 expanded_conv_16_project_BN[0][0]                

______________________________________________________________________________________________________________________________________________________

conv2d_1 (Conv2D)                                (None, 1, 1, 80)                 25600             average_pooling2d_1[0][0]                        

______________________________________________________________________________________________________________________________________________________

conv2d_2 (Conv2D)                                (None, 2, 2, 80)                 25600             average_pooling2d_2[0][0]                        

______________________________________________________________________________________________________________________________________________________

conv2d_3 (Conv2D)                                (None, 3, 3, 80)                 25600             average_pooling2d_3[0][0]                        

______________________________________________________________________________________________________________________________________________________

conv2d_4 (Conv2D)                                (None, 6, 6, 80)                 25600             average_pooling2d_4[0][0]                        

______________________________________________________________________________________________________________________________________________________

batch_normalization_1 (BatchNormalization)       (None, 1, 1, 80)                 320               conv2d_1[0][0]                                    

______________________________________________________________________________________________________________________________________________________

batch_normalization_2 (BatchNormalization)       (None, 2, 2, 80)                 320               conv2d_2[0][0]                                    

______________________________________________________________________________________________________________________________________________________

batch_normalization_3 (BatchNormalization)       (None, 3, 3, 80)                 320               conv2d_3[0][0]                                    

______________________________________________________________________________________________________________________________________________________

batch_normalization_4 (BatchNormalization)       (None, 6, 6, 80)                 320               conv2d_4[0][0]                                    

______________________________________________________________________________________________________________________________________________________

activation_1 (Activation)                        (None, 1, 1, 80)                 0                 batch_normalization_1[0][0]                      

______________________________________________________________________________________________________________________________________________________

activation_2 (Activation)                        (None, 2, 2, 80)                 0                 batch_normalization_2[0][0]                      

______________________________________________________________________________________________________________________________________________________

activation_3 (Activation)                        (None, 3, 3, 80)                 0                 batch_normalization_3[0][0]                      

______________________________________________________________________________________________________________________________________________________

activation_4 (Activation)                        (None, 6, 6, 80)                 0                 batch_normalization_4[0][0]                      

______________________________________________________________________________________________________________________________________________________

lambda_1 (Lambda)                                (None, 30, 30, 80)               0                 activation_1[0][0]                                

______________________________________________________________________________________________________________________________________________________

lambda_2 (Lambda)                                (None, 30, 30, 80)               0                 activation_2[0][0]                                

______________________________________________________________________________________________________________________________________________________

lambda_3 (Lambda)                                (None, 30, 30, 80)               0                 activation_3[0][0]                                

______________________________________________________________________________________________________________________________________________________

lambda_4 (Lambda)                                (None, 30, 30, 80)               0                 activation_4[0][0]                                

______________________________________________________________________________________________________________________________________________________

concatenate_1 (Concatenate)                      (None, 30, 30, 640)              0                 expanded_conv_16_project_BN[0][0]                

                                                                                                   lambda_1[0][0]                                    

                                                                                                   lambda_2[0][0]                                    

                                                                                                   lambda_3[0][0]                                    

                                                                                                   lambda_4[0][0]                                    

______________________________________________________________________________________________________________________________________________________

conv2d_5 (Conv2D)                                (None, 30, 30, 80)               460800            concatenate_1[0][0]                              

______________________________________________________________________________________________________________________________________________________

batch_normalization_5 (BatchNormalization)       (None, 30, 30, 80)               320               conv2d_5[0][0]                                    

______________________________________________________________________________________________________________________________________________________

activation_5 (Activation)                        (None, 30, 30, 80)               0                 batch_normalization_5[0][0]                      

______________________________________________________________________________________________________________________________________________________

dropout_1 (Dropout)                              (None, 30, 30, 80)               0                 activation_5[0][0]                                

______________________________________________________________________________________________________________________________________________________

conv2d_6 (Conv2D)                                (None, 30, 30, 21)               1701              dropout_1[0][0]                                  

______________________________________________________________________________________________________________________________________________________

lambda_5 (Lambda)                                (None, 473, 473, 21)             0                 conv2d_6[0][0]                                    

______________________________________________________________________________________________________________________________________________________

main (Activation)                                (None, 473, 473, 21)             0                 lambda_5[0][0]                                    

======================================================================================================================================================

Total params: 2,409,765

Trainable params: 2,377,413

Non-trainable params: 32,352

相关文章
|
3月前
|
机器学习/深度学习 资源调度 自然语言处理
不同类型的循环神经网络结构
【8月更文挑战第16天】
48 0
|
13天前
|
机器学习/深度学习 计算机视觉 网络架构
【YOLO11改进 - C3k2融合】C3k2融合YOLO-MS的MSBlock : 分层特征融合策略,轻量化网络结构
【YOLO11改进 - C3k2融合】C3k2融合YOLO-MS的MSBlock : 分层特征融合策略,轻量化网络结构
|
22天前
|
机器学习/深度学习 算法
神经网络的结构与功能
神经网络是一种广泛应用于机器学习和深度学习的模型,旨在模拟人类大脑的信息处理方式。它们由多层不同类型的节点或“神经元”组成,每层都有特定的功能和责任。
24 0
|
2月前
|
编解码 人工智能 文件存储
卷积神经网络架构:EfficientNet结构的特点
EfficientNet是一种高效的卷积神经网络架构,它通过系统化的方法来提升模型的性能和效率。
50 1
|
3月前
|
机器学习/深度学习 算法 文件存储
【博士每天一篇文献-算法】 PNN网络启发的神经网络结构搜索算法Progressive neural architecture search
本文提出了一种名为渐进式神经架构搜索(Progressive Neural Architecture Search, PNAS)的方法,它使用顺序模型优化策略和替代模型来逐步搜索并优化卷积神经网络结构,从而提高了搜索效率并减少了训练成本。
52 9
|
3月前
|
机器学习/深度学习 人工智能 PyTorch
AI智能体研发之路-模型篇(五):pytorch vs tensorflow框架DNN网络结构源码级对比
AI智能体研发之路-模型篇(五):pytorch vs tensorflow框架DNN网络结构源码级对比
76 1
|
4月前
|
机器学习/深度学习 自然语言处理
像生物网络一样生长,具备结构可塑性的自组织神经网络来了
【7月更文挑战第24天】Sebastian Risi团队发布的arXiv论文探讨了一种模仿生物神经网络生长与适应特性的新型神经网络。LNDP利用结构可塑性和经验依赖学习,能根据活动与奖励动态调整连接,展现自我组织能力。通过基于图变换器的机制,LNDP支持突触动态增删,预先通过可学习随机过程驱动网络发育。实验在Cartpole等任务中验证了LNDP的有效性,尤其在需快速适应的场景下。然而,LNDP在复杂环境下的可扩展性及训练优化仍面临挑战,且其在大规模网络和图像分类等领域的应用尚待探索
85 20
|
3月前
|
机器学习/深度学习 Linux TensorFlow
【Tensorflow+keras】用代码给神经网络结构绘图
文章提供了使用TensorFlow和Keras来绘制神经网络结构图的方法,并给出了具体的代码示例。
54 0
|
4月前
|
机器学习/深度学习 自然语言处理 算法
深度学习的关键概念和网络结构
度学习是人工智能和机器学习的一个重要分支,它通过模拟人脑神经元的工作方式来处理复杂的模式识别和数据分析任务。深度学习已经在许多领域取得了显著的成果,如图像识别、语音识别和自然语言处理。
63 1
|
3月前
|
机器学习/深度学习 API 数据处理
《零基础实践深度学习》2.4手写数字识别之网络结构
这篇文章介绍了手写数字识别任务中网络结构设计的优化,比较了多层全连接神经网络和卷积神经网络两种模型结构,并展示了使用PaddlePaddle框架实现这些网络结构,训练并观察它们在MNIST数据集上的表现。