Giter Club home page Giter Club logo

Comments (4)

rwightman avatar rwightman commented on May 19, 2024

I assume you exported to onnx with the same resolution set? If yes, I don't have an answer. The onnx ecosystem is a bit touchy, I've seen numerous breaks over the past few PyTorch and onnx version changes. TensorRT adds yet another variable. Good luck, please update if you find a solution to help others.

from gen-efficientnet-pytorch.

alicera avatar alicera commented on May 19, 2024

if I use the feature size (105 x 105) do your designed conv with stride 2 ,
the output size will be (53 x 53)

and the https://github.com/lukemelas/EfficientNet-PyTorch
do the same thing , the output size will be (52 x 52)
why? thanks

from gen-efficientnet-pytorch.

rwightman avatar rwightman commented on May 19, 2024

@alicera I'm not sure what your issue is? as far as I understand 53x53 is the correct output if the input is 105x105, stride 2, and padding is set to 'SAME' or 1, as it should be for the stride 2 convs in this network.

from gen-efficientnet-pytorch.

alicera avatar alicera commented on May 19, 2024

https://github.com/lukemelas/EfficientNet-PyTorch
if I set the input size (1,3,840,840)
and the layers output are
P0 torch.Size([1, 16, 420, 420])
P1 torch.Size([1, 24, 210, 210])
P2 torch.Size([1, 40, 105, 105])
P3 torch.Size([1, 80, 52, 52])
P4 torch.Size([1, 112, 26, 26])
P5 torch.Size([1, 192, 13, 13])
P6 torch.Size([1, 320, 6, 6])

and if I use the same input size (1,3,840,840)
the P3 output will be ([1, 80, 53, 53]) in your project

from gen-efficientnet-pytorch.

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.