try gtp vit
This commit is contained in:
		@@ -596,9 +596,9 @@ class FouriER(torch.nn.Module):
 | 
			
		||||
            graph = degree @ graph @ degree
 | 
			
		||||
 | 
			
		||||
        for idx, block in enumerate(self.network):
 | 
			
		||||
            if (isinstance(block, PoolFormerBlock)):
 | 
			
		||||
            try:
 | 
			
		||||
                x = block(x, graph)
 | 
			
		||||
            else:
 | 
			
		||||
            except:
 | 
			
		||||
                x = block(x)
 | 
			
		||||
        # output only the features of last layer for image classification
 | 
			
		||||
        return x
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user