基于ConvNeXt的语义分割代码实现
import torchimport torch.nn as nnimport torch.nn.functional as Ffrom timm.models.layers import DropPath, trunc_normal_class layer_Norm(nn.Module): def __init__(self, normalized_shape, eps=1e-6, data_format='channels_last'): super(layer_No