RepMLP
RepMLP copied to clipboard
RepMLPNet: Hierarchical Vision MLP with Re-parameterized Locality (CVPR 2022)
Hi, I try `python repmlpnet.py`, and set the size of x at [100, 3, 224, 224]. But I find the deviation between the new_y and origin_y is 0.0019, which is...
self.conv_embedding = conv_bn_relu(in_channels, channels[0], kernel_size=patch_size, stride=patch_size, padding=0) The first embedding layer is still CNN without conversion to MLP finally, have you tried to convert this embedding layer to MLP as...
Thank you very much for proposing an excellent model and sharing it publicly. Also congratulations on the publication of your results in CVPR. Since I want the RepMLP model should...
Can you provide the implementation for sementaic segmentation? I am wodering how you split the feature map to fit MLP. thank you.
https://github.com/DingXiaoH/RepMLP/blob/main/repmlpnet.py#L49 ```python def forward(self, inputs): x = F.adaptive_avg_pool2d(inputs, output_size=(1, 1)) x = self.fc1(x) ``` according to the paper, it may should be (h, w)?