You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 never exceeds -1)
out = self.encoder1(torch.cat([x1, x2], dim=1))
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/torch2trt.py", line 310, in wrapper
converter"converter"
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/converters/cat.py", line 16, in convert_cat
trt_inputs = broadcast_trt_tensors(ctx.network, trt_inputs, len(output.shape))
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/torch2trt.py", line 194, in broadcast_trt_tensors
if len(t.shape) < broadcast_ndim:
ValueError: len() should return >= 0
The text was updated successfully, but these errors were encountered:
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 never exceeds -1)
out = self.encoder1(torch.cat([x1, x2], dim=1))
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/torch2trt.py", line 310, in wrapper
converter"converter"
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/converters/cat.py", line 16, in convert_cat
trt_inputs = broadcast_trt_tensors(ctx.network, trt_inputs, len(output.shape))
File "/home/user/anaconda3/lib/python3.10/site-packages/torch2trt-0.4.0-py3.10.egg/torch2trt/torch2trt.py", line 194, in broadcast_trt_tensors
if len(t.shape) < broadcast_ndim:
ValueError: len() should return >= 0
The text was updated successfully, but these errors were encountered: