Comments (5)
I think the issue could be fixed by just removing the "image_tensor:0" input by enabling this line of code: https://github.com/jkjung-avt/tensorrt_demos/blob/master/ssd/build_engine.py#L160
from tensorrt_demos.
I think the issue could be fixed by just removing the "image_tensor:0" input by enabling this line of code: https://github.com/jkjung-avt/tensorrt_demos/blob/master/ssd/build_engine.py#L160
I solved this but now at last step during conversion I am getting core dumped error.
for reference:
UFF Output written to /home/sys-admin/Downloads/Projects/tensorrt_demos/ssd/tmp_inception_v2_coco.uff
UFF Text Output written to /home/sys-admin/Downloads/Projects/tensorrt_demos/ssd/tmp_inception_v2_coco.pbtxt
[TensorRT] INFO: Detected 1 inputs and 2 output network tensors.
python3: nmsPlugin.cpp:139: virtual void nvinfer1::plugin::DetectionOutput::configureWithFormat(const nvinfer1::Dims*, int, const nvinfer1::Dims*, int, nvinfer1::DataType, nvinfer1::PluginFormat, int): Assertion `numPriors * numLocClasses * 4 == inputDims[param.inputOrder[0]].d[0]' failed.
./build_engines.sh: line 5: 7298 Aborted (core dumped) python3 build_engine.py ${model}
from tensorrt_demos.
Check input order of the 3 input tensors of the NMS_TRT node (look at your 'tmp_inception_v2_coco.pbtxt').
from tensorrt_demos.
Check input order of the 3 input tensors of the NMS_TRT node (look at your 'tmp_inception_v2_coco.pbtxt').
@jkjung-avt as you mentioned to check 'tmp_inception_v2_coco.pbtxt' file, I have gone through it and compared parameters with build_engine.py file, all are similar, still, I am getting core dumped error, have you tried with ssd_inception model or have you such issue, what solution can you suggest specifically for ssd_inception_v2 model?
for reference:
in build_engine.py file -
},
'ssd_inception_v2_coco': {
'input_pb': os.path.abspath(os.path.join(
DIR_NAME, 'ssd_inception_v2_coco.pb')),
'tmp_uff': os.path.abspath(os.path.join(
DIR_NAME, 'tmp_inception_v2_coco.uff')),
'output_bin': os.path.abspath(os.path.join(
DIR_NAME, 'TRT_ssd_inception_v2_coco.bin')),
'num_classes': 90,
'min_size': 0.2,
'max_size': 0.95,
'input_order': [1, 0, 2], # order of loc_data, conf_data, priorbox_data
},
what else changes I must do in code??
from tensorrt_demos.
@jkjung-avt thanks for replies, I solved all issues and successfully converted & run by changing 'input_order': [1, 0, 2], to 'input_order': [0, 2, 1],
from tensorrt_demos.
Related Issues (20)
- Calib.table not created Deepstream
- Error when install install_pycuda.sh file HOT 2
- Any plan about SwinIR? HOT 1
- Batch Processed Image Inference HOT 2
- Failure to Build ONNX from Custom Yolo HOT 2
- Error when running on separate thread HOT 2
- wrong many bounding box and wrong predict untrained class id
- error happening when sh ./install_pycuda.sh HOT 3
- Integration With AGX Orin HOT 4
- yolov3 onnx format with low opset, suitable for tensorrt 6.5 HOT 1
- Trouble with linker on yolo plugin x86 HOT 2
- Xavier onnx to TensorRT error HOT 1
- How to prevent tensorrt from fusing the final layers when trying to convert tiny yolov3 to int8? HOT 2
- No output when running my own yolov4
- Failed to build the TensorRT engine --int8
- How do I free up memory when I want to switch models
- Cudnn initialization error: I already installed Cudnn but Why?
- Is there any way to avoid using the reshape operation after inference?
- DRIVE AGX Orin
- Facing Issue with yolo to onnx conversion with pre-trained yolov3-tiny model.
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 tensorrt_demos.