Giter Club home page Giter Club logo

Comments (8)

yunfanxiao avatar yunfanxiao commented on May 14, 2024

你好,正常情况下depth2space的output不会被设置为image类型,可在cnn.cpp与memory_tracker的相关代码中定位为何被修改为image,可打开debug模式获取更多信息。

from bolt.

peyer avatar peyer commented on May 14, 2024

上面的表述有误,我更正一下;应该是depth2space前一层是conv,conv的output是image类型并给了depth2space做输入,而depth2space的输入支持buffer的类型

from bolt.

peyer avatar peyer commented on May 14, 2024

python脚本构造一个简易网络,第一层是conv,输入1x2x4x4,filter16x2x3x3,stride=1,pad=0,dilation=1,输出1x16x2x2,第二层是depth2space,blocksize=4,输出1x1x8x8,也会触发

from bolt.

yunfanxiao avatar yunfanxiao commented on May 14, 2024

这里确实有些问题,请问计算触发depth2space_mali_fp16.cpp 74行的转换了吗?

from bolt.

peyer avatar peyer commented on May 14, 2024

2分支都可能触发错误;因为depth2space的kernel输入只支持buffer的类型,一旦前一层传递一个image的就会出错

from bolt.

yunfanxiao avatar yunfanxiao commented on May 14, 2024

提交了一个修复的patch,可以试一试#92

from bolt.

peyer avatar peyer commented on May 14, 2024

@yunfanxiao 还是有点问题,需要再改一下
image

from bolt.

peyer avatar peyer commented on May 14, 2024

按理说github的单元测试应该很容易找到这个bug,是CI没有跑就强合了吗?

from bolt.

Related Issues (20)

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.