Coder Social home page Coder Social logo

Comments (2)

zhao62 avatar zhao62 commented on September 26, 2024

你好,第5维确实始终没用到。
我写pad_backend函数,是为了对通道数channels进行padding,来匹配恒等路径和残差路径的通道数量。
但是我对Keras不熟,Keras好像没有现成的函数,来实现这个功能。
我只找到了对空间padding的函数,有spatial_2d_padding和spatial_3d_padding。
所以我先扩充一维,然后借助spatial_3d_padding对通道数进行padding,再把多余的一维删掉。
如果有现成的函数,能对通道数进行padding,我就不这么折腾了。

from deep-residual-shrinkage-networks.

xcliang2 avatar xcliang2 commented on September 26, 2024

好的,了解了,谢谢回复。

from deep-residual-shrinkage-networks.

Related Issues (16)

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.