mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	suppress errors in vision/fair/pytorch3d
				
					
				
			Differential Revision: D53111480 fbshipit-source-id: 0f506bf29cf908e40b058ae72f51e828cd597825
This commit is contained in:
		
							parent
							
								
									b80ab0caf0
								
							
						
					
					
						commit
						85eccbbf77
					
				@ -304,6 +304,7 @@ def _show_predictions(
 | 
			
		||||
    pred_all = []
 | 
			
		||||
    # Randomly choose a subset of the rendered images, sort by ordr in the sequence
 | 
			
		||||
    n_samples = min(n_samples, len(preds))
 | 
			
		||||
    # pyre-fixme[20]: Argument `k` expected.
 | 
			
		||||
    pred_idx = sorted(random.sample(list(range(len(preds))), n_samples))
 | 
			
		||||
    for predi in pred_idx:
 | 
			
		||||
        # Make the concatentation for the same camera vertically
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user