You could have a look at the discussion over in the torchvision repository.

  
      github.com/pytorch/vision
  
  
    



Issue: Random transforms for both input and target? 452


	
	opened by fmassa
	on 2016-11-28
	
	
	closed by fmassa
	on 2017-09-03
	


In some scenarios (like semantic segmentation), we might want to apply the same random transform to both the input and the...




  
  
    
    
  
  



  
      github.com/pytorch/vision
  
  
    



Issue: Proposal for extending transforms 125


	
	opened by fmassa
	on 2017-08-24
	
	
	closed by alykhantejani
	on 2017-09-26
	


Up to now, we compose different transforms via Compose transform, which works like nn.Sequential but for transforms. Each transform is applied...




  
  
    
    
  
  



  
      github.com/pytorch/vision
  
  
      
    
  


  Refactor of transforms  80



  by chsasank
  on 06:15PM - 03 Sep 17



  10 commits
  changed 1 files
  with 332 additions
  and 105 deletions.