Git Product home page Git Product logo

repmlp_demo's Introduction

论文地址:[2112.11081] RepMLPNet: Hierarchical Vision MLP with Re-parameterized Locality (arxiv.org)

作者源码:DingXiaoH/RepMLP: RepMLPNet: Hierarchical Vision MLP with Re-parameterized Locality (CVPR 2022) (github.com)

conv_bn层融合参考:[2101.03697] RepVGG: Making VGG-style ConvNets Great Again (arxiv.org)

此代码只是一个demo,粗略实现了一下如何融合Mlp和conv和bn,具体的推导论文有。

作者的论文解说:论文连讲:用重参数化赋予MLP网络局部性、超大卷积核架构【CVPR2022】【基础模型】_哔哩哔哩_bilibili

作者实现的代码所有的MLP都是1x1卷积实现的,因为把feature map都reshape为1x1,所有的特征都reshape到通道数量上,对于1x1的feature map,1x1卷积和MLP是一样的(可以把MLP视为对h,w的全卷积)。这里的实现是用torch.nn.linear的,并且没有用分组卷积,也没有对特征图进行分组。只是一个单纯的demo。

repmlp_demo's People

Contributors

wwwtttjjj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.