Coder Social home page Coder Social logo

Comments (7)

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

a. 听说这个算子从opset10开始后被onnx官方弃用了...
b. 这个问题好像之前群里有人也提过,我们正在添加这部分逻辑。
c. 请把这种bn插在conv前面的程序员抓来祭天,不过理论上这个是可以fold的。

from ppq.

zhenglongjiepheonix avatar zhenglongjiepheonix commented on August 29, 2024

@Menace-Dragon Upsample可以自己参照ppq/executor/op/torch/default.py里面的算子加个pytorch的实现,我们应该不会支持

from ppq.

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

hahahaha好的,感谢感谢~

from ppq.

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

你可以用onnx版本转换工具把那个upsample干掉,它可能被resize之类的算子替换了
https://github.com/onnx/onnx/blob/main/docs/VersionConverter.md

from ppq.

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

你可以用onnx版本转换工具把那个upsample干掉,它可能被resize之类的算子替换了 https://github.com/onnx/onnx/blob/main/docs/VersionConverter.md

确实是我的版本问题,我的onnx模型 opset=v9,确实需要版本转换。但是我今天也试过了这个version_converter,,报错了,估计是我的onnx模型不太符合version_converter的要求hhhhh,我再自己想办法解决了,再次感谢😞

from ppq.

ZhangZhiPku avatar ZhangZhiPku commented on August 29, 2024

Bn fold的问题已经在 #70 修正

from ppq.

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

好勒!

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.