inceptionnext
inceptionnext copied to clipboard
inceptionnext performance
Hello, I tried to use inceptionnext as the encoder, but the experiment results are not ideal ( The performance is even worse than convnext, I think maybe I made a mistake), can you help me to see if there is a problem with my code?
Since the encoder is connected to the decoder at each layer, I need to extract the results of each layer.
original:
def forward(self, x):
x = self.forward_features(x)
x = self.forward_head(x) # I removed this part of the code because of the encoder
return x
I modified:
def forward(self, x):
y = x
y = self.stem(y)
y = self.stages[0] (y)
x1 = y
y = self.stages[1] (y)
x2 = y
y = self.stages[2] (y)
x3 = y
y = self.stages[3] (y)
x4 = y
return x1, x2, x3, x4