Comments (4)
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.
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.
@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.
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)
- Segmentation fault (core dumped) HOT 2
- Unable to create models with current pip release (0.9.8) HOT 4
- dd
- customize efficientnet HOT 2
- What is the simplest way to convert trained Pytorch-weights of EfficientNet-Lite model back to Tensorflow? HOT 9
- Training with float16/half precision HOT 1
- torch.jit.script(model) crashed HOT 2
- efficientnet pretrained model URL is empty HOT 7
- I think tf_efficientnet was not trained. HOT 1
- Cannot export an ONNX file with PyTorch 1.7.0 HOT 3
- Time to train HOT 1
- Importing Tensorflow checkpoints HOT 2
- Is uses Pip to load a pre-trained model equal to use PyTorch Hub to load a pre-trained model?
- No state_dict found in checkpoint file efficientnet_b1-533bc792.pth
- torch.onnx.export failed HOT 1
- How to train from scratch on a different dataset?
- heeman
- meaning of `ns` vs `ap` HOT 1
- QAT model fusion problem
- Efficientnet with 4 channel input
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gen-efficientnet-pytorch.