def forward_clip_projector(self, x): # for InternImage-H/G
xs = self.forward_features_seq_out(x)
x1, x2, x3, x4 = xs
#x1 = x1.permute(0, 3, 1, 2) # NHWC -> NCHW
#x2 = x2.permute(0, 3, 1, 2) # NHWC -> NCHW
#x3 = x3.permute(0, 3, 1, 2) # NHWC -> NCHW
#x4 = x4.permute(0, 3, 1, 2) # NHWC -> NCHW