File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
torchvision/models/detection Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ class RetinaNet(nn.Module):
256256            It should contain an out_channels attribute, which indicates the number of output 
257257            channels that each feature map has (and it should be the same for all feature maps). 
258258            The backbone should return a single Tensor or an OrderedDict[Tensor]. 
259-         num_classes (int): number of output classes of the model (excluding  the background). 
259+         num_classes (int): number of output classes of the model (including  the background). 
260260        min_size (int): minimum size of the image to be rescaled before feeding it to the backbone 
261261        max_size (int): maximum size of the image to be rescaled before feeding it to the backbone 
262262        image_mean (Tuple[float, float, float]): mean values used for input normalization. 
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ class SSD(nn.Module):
141141            set of feature maps. 
142142        size (Tuple[int, int]): the width and height to which images will be rescaled before feeding them 
143143            to the backbone. 
144-         num_classes (int): number of output classes of the model (excluding  the background). 
144+         num_classes (int): number of output classes of the model (including  the background). 
145145        image_mean (Tuple[float, float, float]): mean values used for input normalization. 
146146            They are generally the mean values of the dataset on which the backbone has been trained 
147147            on 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments