Comments (3)
Hi joechenrh,
Thanks for pointing this out. The BatchNorm1d converter was only able to handle 3D inputs. I have updated to add support for 2D inputs in this pull request.
It has just been merged into master so you can give it a try.
Please let me know if this works for you or if you have any other questions.
Best,
John
from torch2trt.
I have pulled the latest version and it works well.
Thanks for your help, it's quite simple to use.
from torch2trt.
Glad to hear! Please let me know if you run into any other issues.
Best,
John
from torch2trt.
Related Issues (20)
- ValueError: len() should return >= 0 with LPPool2d operator HOT 2
- TypeError: 'int' object is not iterable when using torch2trt to convert a PyTorch model with Transformer operator HOT 1
- torch_dim_to_trt_axes does not handle dim=-1 correctly
- Inconsistent inference results between PyTorch and converted TensorRT model using with GumbelSoftmax operator
- Inconsistent inference results between PyTorch and converted TensorRT model using with LogSoftmax operator
- Inconsistent inference results between PyTorch and converted TensorRT model using with Softplus operator
- Inconsistent inference results between PyTorch and converted TensorRT model using with Silu operator
- Inconsistent inference results between PyTorch and converted TensorRT model using with Normalize operator
- Inconsistent inference results between PyTorch and converted TensorRT model using with Linear operator
- Inconsistent inference results between PyTorch and converted TensorRT model with AvgPool2d operator
- Inconsistent inference results between PyTorch and converted TensorRT model with Pad operator
- repvggblock in torch2trt
- Inconsistent inference results between PyTorch and converted TensorRT model with Selu operator
- Inconsistent inference results between PyTorch and converted TensorRT model with MaxPool2d operator
- Inconsistent inference results between PyTorch and converted TensorRT model with BatchNorm or InstanceNorm operator
- Inconsistent inference results between PyTorch and converted TensorRT model with Interpolate operator
- Inconsistent inference results between PyTorch and converted TensorRT model with ConvTranspose2d operator
- 'tensorrt.tensorrt.Builder' object has no attribute 'build_cuda_engine'
- python model successfully tested on polygraphy tensorrt, but failed, when loading on torch2trt
- torch2trt shows error when converting a model, even though regular pytorch -> onnx -> tensorrt and inference is successful
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 torch2trt.