Is drop_path_rate decativated in .eval() mode? #1129
              
                
                  
                  
                    Answered
                  
                  by
                    TorbenSDJohansen
                  
              
          
                  
                    
                      ahmed1996said
                    
                  
                
                  asked this question in
                Q&A
              
            -
| I'm using efficnetNet_b4 to pretrain my dataset with drop_path_rate=0.2 . While evaluating the model (ex. for testing), does path drop gets deactivated? If not, how can I manually deactivate it? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            TorbenSDJohansen
          
      
      
        Feb 8, 2022 
      
    
    Replies: 1 comment 1 reply
-
| Dear ahmed1996said, I believe it should be disabled so long as the  Torben | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        ahmed1996said
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Dear ahmed1996said,
I believe it should be disabled so long as the
Moduleis not in training mode. For example, see the code for drop_path. From this, note how the input is returned unaltered providedtrainingisFalse, which is the case inevalmode.Torben