Coder Social home page Coder Social logo

Comments (8)

Menace-Dragon avatar Menace-Dragon commented on August 29, 2024

Capture
如图,(当然你也发现了,该resize算子输入尺寸为23x23,输出为45x45,居然不是2倍关系,我也迷惑

from ppq.

Menace-Dragon avatar Menace-Dragon commented on August 29, 2024

但是我又看了一下,该模型是Pytorch.onnx export出来的opset11,应该是比较正常的算子,Resize算子写的虽然省略了东西但是应该没毛病(ONNXRuntime可以跑通该模型)

from ppq.

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

据我所知你拿ppq转换onnx的模型到caffe问题可多了,或者从caffe转换到onnx也一堆问题,主要是它们有些定义好像不是很一样...你确定要这样搞的话可以解除439行的判断试试,虽然它后面可能还要别的问题。

from ppq.

Menace-Dragon avatar Menace-Dragon commented on August 29, 2024

有道理,emmmmmmmm那我暂时先不考虑这个模型了

from ppq.

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

好像就只有caffe进caffe出是可以的,你这个东西是输入了一个onnx然后要导出caffe?

from ppq.

Menace-Dragon avatar Menace-Dragon commented on August 29, 2024

确实,我才意识到,PPL_DSP_INT8只能导出CaffeModel。再叨扰问一下,,,PPL_DSP_INT8的DSP,指的是量化完成的模型是在CPU上运行的吗?

from ppq.

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

好像不是这样的,这个PPL_DSP_INT8指的是按照PPL_DSP的量化规则对模型进行量化,确定每一个算子的具体量化细节。这一规则适用于PPL_DSP和SNPE平台。

from ppq.

Menace-Dragon avatar Menace-Dragon commented on August 29, 2024

ohh明白了,感谢

from ppq.

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.