-
Hi,
I have been trying to convert the Resnet18_fpn customized Faster-RCNN network using following code.
```
import torch
import torchvision
import torch2trt
import tensorrt as trt
model = …
-
in pytorch, I can do the below code right:
```python
a = torch.ones((4, 3, 13, 13), dtype=torch.uint8)
b = torch.rand((4, 3, 13, 13))
c = b[a]
```
but if I use torch2trt to convert model, th…
-
Just like title. Once I import torch2trt, I no longer get tracebacks from exceptions. It just tells me 'Segmentation Fault' for simple things such as 'File not found'.
Simply removing the import fixe…
-
Hello john, once again I have to ask for your advice sincerely.
In a previous demo, I was able to successfully convert a .pth to a .engine model with the following code:
```
x = torch.ones((1, …
-
(zk_mmdet2.4) yyf@zyzn:~/software/torch2trt$ sudo python setup.py install
[sudo] password for yyf:
Traceback (most recent call last):
File "setup.py", line 8, in
from build import build
…
-
Hi, I'm trying to use torch2trt_dynamic to convert model from pytorch to tensorrt and get the error that number of channels in input tensor to a convolution layer must not be dynamic
To replicate the…
-
Plet let me know how this issue can be fixed, thank you
[TRT] [E] 9: [graphShapeAnalyzer.cpp::addVolumeCheck::877] Error Code 9: Internal Error ((Unnamed Layer* 135) [Slice]_output: dimension 1 nev…
-
Hi
Just trying to run this ros2 module on a desktop PC running Ubuntu 18.04 and ROS2 foxy but getting the following error:
ros2 run ros2_trt_pose pose-estimation --ros-args -p base_dir:='/home/j…
-
Hi, trying to use `torch2trt` on a simple example. But i receive a strange sefault on nn.Linear. Here are details.
Libs:
```tensorrt==10.0.1
tensorrt-cu12==10.0.1
tensorrt-cu12-bindings==10.0.1
…
-
hey,when the tensor is interpolated in the fpn layer, the output value has changed, which is different from the original mmdetection output value, so this makes the output of the entire network deviat…