<?xml version="1.0"?>  
<lcfCfg name="ResNet50" batchNum="16" maxIterNum="10000" saveIterNum="100" minStopError="0.001" lrBase="0.0005" lrDecay="0.99" lrStep="0" apiMem="0.2" apiParaType="GPU" mainParaMem="0.6" mainParaType="GPU"  backParaMem="0.1" backParaType="CPU" weightFile="ccnnWeight.dat">

    <layer Type="INPT">
        <ID>1</ID>
        <channels>3</channels>
        <height>224</height>
        <width>224</width>
    </layer>
 
    <layer Type="CONV">
        <ID>2</ID>
        <kerSize>7</kerSize>
        <pad>3</pad>
        <stride>2</stride>
        <kerNum>64</kerNum>
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>      
        <inputLayers>
            <inputLayer>1</inputLayer>
        </inputLayers>
    </layer>
    
    <layer Type="MAXPOOL">
        <ID>3</ID>
        <kerSize>2</kerSize>
        <rbPad>0</rbPad>
        <crPad>0</crPad>
        <inputLayers>
            <inputLayer>2</inputLayer>
        </inputLayers>
    </layer>

    <!--######################################## STAGE0 Finish Out -->

    <layer Type="BTNK1">
        <ID>4</ID>  
        <stride>1</stride>
        <kerNum>64</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>3</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>5</ID>  
        <kerNum>256</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>4</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>6</ID>  
        <kerNum>256</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>5</inputLayer>
        </inputLayers>
     </layer>
     
     <!--######################################## STAGE1 Finish-->
    
     <layer Type="BTNK1">
        <ID>7</ID>  
        <stride>2</stride>
        <kerNum>128</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>6</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>8</ID>  
        <kerNum>512</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>7</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>9</ID>  
        <kerNum>512</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>8</inputLayer>
        </inputLayers>
     </layer>
     
      <layer Type="BTNK2">
        <ID>10</ID>  
        <kerNum>512</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>9</inputLayer>
        </inputLayers>
     </layer>
     <!--######################################## STAGE2 Finish-->

      <layer Type="BTNK1">
        <ID>11</ID>  
        <stride>2</stride>
        <kerNum>256</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>10</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>12</ID>  
        <kerNum>1024</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>11</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>13</ID>  
        <kerNum>1024</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>12</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>14</ID>  
        <kerNum>1024</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>13</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>15</ID>  
        <kerNum>1024</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>14</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>16</ID>  
        <kerNum>1024</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>15</inputLayer>
        </inputLayers>
     </layer>
     
     <!--######################################## STAGE3 Finish-->
   
    <layer Type="BTNK1">
        <ID>17</ID>  
        <stride>2</stride>
        <kerNum>512</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>16</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>18</ID>  
        <kerNum>2048</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>17</inputLayer>
        </inputLayers>
     </layer>
     
     <layer Type="BTNK2">
        <ID>19</ID>  
        <kerNum>2048</kerNum>
        <gamma>1</gamma>
        <beta>0</beta>       
        <lambda>0.0</lambda>
        <alpha>0.9</alpha>
        <activeType>LRELU</activeType>
        <inputLayers>
            <inputLayer>18</inputLayer>
        </inputLayers>
     </layer>   
     <!--######################################## STAGE4 Finish-->
  
    <!-------------------------进行全连接----------------------------->
     <layer Type="FC">
        <ID>20</ID>
        <!---分类数量---->
        <outputNum>10</outputNum>
        <lambda>0.0005</lambda>
        <alpha>0.9</alpha>
        <inputLayers>
            <inputLayer>19</inputLayer>
        </inputLayers>
     </layer>

     <layer Type="BN">
        <ID>21</ID>
        <gamma>1</gamma>
        <beta>0</beta>
        <lambda>0.0005</lambda>
        <alpha>0.9</alpha>
        <inputLayers>
            <inputLayer>20</inputLayer>
        </inputLayers>
    </layer>

    <layer Type="ACTIVE">
        <ID>22</ID>
        <activeType>RELU</activeType>
        <inputLayers>
            <inputLayer>21</inputLayer>
        </inputLayers>
    </layer>

    <layer Type="SFMVEC">
        <ID>23</ID>
        <LossType>SF</LossType>
        <inputLayers>
            <inputLayer>22</inputLayer>
        </inputLayers>
    </layer>
 </lcfCfg>
