Failing computer_vision_fine_tuning example
Hello,
I noticed in the current master branch, the computer_vision_fine_tuning example fails to run with the following error.
TypeError: __init__() got an unexpected keyword argument 'root_data_path'

The error lies in the fact that root_data_path is being passed to pl.LightningModule.__init__ from main .

  
    
      pytorch-lightning/pl_examples/domain_templates/computer_vision_fine_tuning.py
    
    
         Line 452
      in
      e721b1f
    
  
  
    

        
          
           model = TransferLearningModel(dl_path=tmp_dir, **vars(args)) 
        
    
  


This can be fixed by removing the **kwargs in super().__init__(**kwargs). I don't see any arguments in the parser that actually need to be passed to the parent class so It would not lead to bugs due to ignoring the leftover passed arguments.

  
    
      pytorch-lightning/pl_examples/domain_templates/computer_vision_fine_tuning.py
    
    
         Line 185
      in
      e721b1f
    
  
  
    

        
          
           super().__init__(**kwargs) 
        
    
  


In addition, it seems like the logging is done in the "outdated" method with the return {'log': {logging_dict}} instead of the self.log_dict(logging_dict) / self.log(val), would it be in the interest of the project to update it?

  
    
      pytorch-lightning/pl_examples/domain_templates/computer_vision_fine_tuning.py
    
    
        Lines 275 to 280
      in
      e721b1f
    
  
  
    

        
          
           output = OrderedDict({'loss': train_loss, 
        

        
          
                                 'num_correct': num_correct, 
        

        
          
                                 'log': tqdm_dict, 
        

        
          
                                 'progress_bar': tqdm_dict}) 
        

        
          
            
        

        
          
           return output 
        
    
  



  
    
      pytorch-lightning/pl_examples/domain_templates/computer_vision_fine_tuning.py
    
    
        Lines 290 to 292
      in
      e721b1f
    
  
  
    

        
          
           return {'log': {'train_loss': train_loss_mean, 
        

        
          
                           'train_acc': train_acc_mean, 
        

        
          
                           'step': self.current_epoch}} 
        
    
  


would you be interested in me submitting a PR fixing these issues?
Kindest wishes,
Sebastian
related to #4694