Update BBSNet_model.py
Browse files- BBSNet_model.py +2 -2
 
    	
        BBSNet_model.py
    CHANGED
    
    | 
         @@ -297,8 +297,8 @@ class BBSNet(nn.Module): 
     | 
|
| 297 | 
         
             
                    self.out1_conv = nn.Conv2d(32 * 2, 1, kernel_size=1, stride=1, bias=True)
         
     | 
| 298 | 
         
             
                    self.out2_conv = nn.Conv2d(32 * 1, 1, kernel_size=1, stride=1, bias=True)
         
     | 
| 299 | 
         | 
| 300 | 
         
            -
                    if self.training:
         
     | 
| 301 | 
         
            -
             
     | 
| 302 | 
         | 
| 303 | 
         
             
                def forward(self, x, x_depth):
         
     | 
| 304 | 
         
             
                    x = self.resnet.conv1(x)
         
     | 
| 
         | 
|
| 297 | 
         
             
                    self.out1_conv = nn.Conv2d(32 * 2, 1, kernel_size=1, stride=1, bias=True)
         
     | 
| 298 | 
         
             
                    self.out2_conv = nn.Conv2d(32 * 1, 1, kernel_size=1, stride=1, bias=True)
         
     | 
| 299 | 
         | 
| 300 | 
         
            +
                    #if self.training:
         
     | 
| 301 | 
         
            +
                    #    self.initialize_weights()
         
     | 
| 302 | 
         | 
| 303 | 
         
             
                def forward(self, x, x_depth):
         
     | 
| 304 | 
         
             
                    x = self.resnet.conv1(x)
         
     |