mirror of
				https://github.com/facebookresearch/pytorch3d.git
				synced 2025-11-04 18:02:14 +08:00 
			
		
		
		
	upgrade pyre version in fbcode/vision - batch 1
				
					
				
			Differential Revision: D53059851 fbshipit-source-id: f5d0951186c858f90ddf550323a163e4b6d42b68
This commit is contained in:
		
							parent
							
								
									1e817914b3
								
							
						
					
					
						commit
						b80ab0caf0
					
				@ -153,6 +153,7 @@ def sample_farthest_points_naive(
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        # Select a random point index and save it as the starting point
 | 
			
		||||
        # pyre-fixme[6]: For 2nd argument expected `int` but got `Tensor`.
 | 
			
		||||
        selected_idx = randint(0, lengths[n] - 1) if random_start_point else 0
 | 
			
		||||
        sample_idx_batch[0] = selected_idx
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user