Giter Site home page Giter Site logo

tensorrt's People

Contributors

guanghaojiang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

tensorrt's Issues

ERROR!

Hi
i trained EfficientNet-PyTorch and then I run this code but i faced this error ...
`
lname::_bn0_bn0.weight
shift::0x557b3bbf1600
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 32
lname::_blocks.0._bn1_blocks.0._bn1.weight
shift::0x557b3da14ff0
len 16
lname::_blocks.0._bn2_blocks.0._bn2.weight
shift::0x557b3d26bfb0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 96
lname::_blocks.1._bn1_blocks.1._bn1.weight
shift::0x557b33944bb0
len 24
lname::_blocks.1._bn2_blocks.1._bn2.weight
shift::0x557b3d26f3d0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.2.
len 144
lname::_blocks.2._bn0_blocks.2._bn0.weight
shift::0x557b3d7a6020
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 144
lname::_blocks.2._bn1_blocks.2._bn1.weight
shift::0x557b3394b7c0
len 24
lname::_blocks.2._bn2_blocks.2._bn2.weight
shift::0x557b3d273760
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.3.
len 144
lname::_blocks.3._bn0_blocks.3._bn0.weight
shift::0x557b3d274580
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 144
lname::_blocks.3._bn1_blocks.3._bn1.weight
shift::0x557b3d2246c0
len 40
lname::_blocks.3._bn2_blocks.3._bn2.weight
shift::0x557b3d2272e0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.4.
len 240
lname::_blocks.4._bn0_blocks.4._bn0.weight
shift::0x557b3bd95610
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 240
lname::_blocks.4._bn1_blocks.4._bn1.weight
shift::0x557b33e044e0
len 40
lname::_blocks.4._bn2_blocks.4._bn2.weight
shift::0x557b3d22c3a0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.5.
len 240
lname::_blocks.5._bn0_blocks.5._bn0.weight
shift::0x557b3d22d610
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 240
lname::_blocks.5._bn1_blocks.5._bn1.weight
shift::0x557b3d22f3e0
len 80
lname::_blocks.5._bn2_blocks.5._bn2.weight
shift::0x557b3d2323c0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.6.
len 480
lname::_blocks.6._bn0_blocks.6._bn0.weight
shift::0x557b3d233b30
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 480
lname::_blocks.6._bn1_blocks.6._bn1.weight
shift::0x557b3d7c0320
len 80
lname::_blocks.6._bn2_blocks.6._bn2.weight
shift::0x557b3d7c3a80
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.7.
len 480
lname::_blocks.7._bn0_blocks.7._bn0.weight
shift::0x557b3d7c5400
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 480
lname::_blocks.7._bn1_blocks.7._bn1.weight
shift::0x557b3d7c7d10
len 80
lname::_blocks.7._bn2_blocks.7._bn2.weight
shift::0x557b3d7ccca0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.8.
len 480
lname::_blocks.8._bn0_blocks.8._bn0.weight
shift::0x557b3d522bd0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 480
lname::_blocks.8._bn1_blocks.8._bn1.weight
shift::0x557b3d524f40
len 112
lname::_blocks.8._bn2_blocks.8._bn2.weight
shift::0x557b3d528690
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.9.
len 672
lname::_blocks.9._bn0_blocks.9._bn0.weight
shift::0x557b3d52a410
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 672
lname::_blocks.9._bn1_blocks.9._bn1.weight
shift::0x557b3d52d620
len 112
lname::_blocks.9._bn2_blocks.9._bn2.weight
shift::0x557b3d531400
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.10.
len 672
lname::_blocks.10._bn0_blocks.10._bn0.weight
shift::0x557b3d73d650
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 672
lname::_blocks.10._bn1_blocks.10._bn1.weight
shift::0x557b3d7406a0
len 112
lname::_blocks.10._bn2_blocks.10._bn2.weight
shift::0x557b3d7443f0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.11.
len 672
lname::_blocks.11._bn0_blocks.11._bn0.weight
shift::0x557b3d746170
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 672
lname::_blocks.11._bn1_blocks.11._bn1.weight
shift::0x557b3d749380
len 192
lname::_blocks.11._bn2_blocks.11._bn2.weight
shift::0x557b3d565190
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.12.
len 1152
lname::_blocks.12._bn0_blocks.12._bn0.weight
shift::0x557b3d567910
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 1152
lname::_blocks.12._bn1_blocks.12._bn1.weight
shift::0x557b3d56bfe0
len 192
lname::_blocks.12._bn2_blocks.12._bn2.weight
shift::0x557b3d570d50
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.13.
len 1152
lname::_blocks.13._bn0_blocks.13._bn0.weight
shift::0x557b3d573470
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 1152
lname::_blocks.13._bn1_blocks.13._bn1.weight
shift::0x557b3cc7e900
len 192
lname::_blocks.13._bn2_blocks.13._bn2.weight
shift::0x557b3cc83720
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.14.
len 1152
lname::_blocks.14._bn0_blocks.14._bn0.weight
shift::0x557b3cc85ea0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 1152
lname::_blocks.14._bn1_blocks.14._bn1.weight
shift::0x557b3cc8a730
len 192
lname::_blocks.14._bn2_blocks.14._bn2.weight
shift::0x557b3f80dbb0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
lname _bn0 _blocks.15.
len 1152
lname::_blocks.15._bn0_blocks.15._bn0.weight
shift::0x557b3f810330
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 33 * 32 / 1 = 1728
height::0
len 1152
lname::_blocks.15._bn1_blocks.15._bn1.weight
shift::0x557b3f815410
len 320
lname::_blocks.15._bn2_blocks.15._bn2.weight
shift::0x557b3f81b3f0
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer
0) [Convolution]: kernel weights has count 864 but 1728 was expected
[06/08/2021-09:20:16] [E] [TRT] (Unnamed Layer* 0) [Convolution]: count of 864 weights in kernel, but kernel dimensions (3,3) with 6 input channels, 32 output channels and 1 groups were specified. Expected Weights count is 6 * 3*3 * 32 / 1 = 1728
lname _bn0 _blocks.16.
len 0
lname::_blocks.16._bn0_blocks.16._bn0.weight
shift::0x557b3f81d0d0
[06/08/2021-09:20:16] [E] [TRT] Parameter check failed at: ../builder/Network.cpp::addScale::494, condition: shift.count > 0 ? (shift.values != nullptr) : (shift.values == nullptr)

`

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.