mirror of
				https://github.com/facebookresearch/sam2.git
				synced 2025-11-04 19:42:12 +08:00 
			
		
		
		
	Merge pull request #167 from arun477/patch-1
remove unused attributes from hieradet.py
This commit is contained in:
		
						commit
						778e112740
					
				@ -46,11 +46,7 @@ class MultiScaleAttention(nn.Module):
 | 
			
		||||
 | 
			
		||||
        self.dim = dim
 | 
			
		||||
        self.dim_out = dim_out
 | 
			
		||||
 | 
			
		||||
        self.num_heads = num_heads
 | 
			
		||||
        head_dim = dim_out // num_heads
 | 
			
		||||
        self.scale = head_dim**-0.5
 | 
			
		||||
 | 
			
		||||
        self.q_pool = q_pool
 | 
			
		||||
        self.qkv = nn.Linear(dim, dim_out * 3)
 | 
			
		||||
        self.proj = nn.Linear(dim_out, dim_out)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user