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