Closed lmxlmx closed 4 years ago
I also meet the same problem when the onnx model come from torch.onnx.export, however the pretrained onnx model from https://github.com/onnx/models/tree/master/vision/classification/resnet works well. (Unnamed Layer* 71) [Shuffle]: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [1,4] [08/27/2019-16:57:13] [E] [TRT] Builder failed while configuring INT8 mode.
Is this still reproducible with the latest TensorRT version, if so can you provide the network you are using?
Closing due to inactivity - if you are still having issues feel free to reopen.
I have same problem and using: TensorRt 8.2 CUDA 10.2 cuDNN 8.2.1 W10
IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [1,2].
Is this still reproducible with the latest TensorRT version, if so can you provide the network you are using?
@kevinch-nv I meet the same problem in TRT 8.2.1 CUDA 10.2 cuDNN 8.2.1 ubuntu18.04 [shuffleNode.cpp::symbolicExecute::387] Error Code 4: Internal Error (Reshape_12: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
I meet the same problem, anyone has solutions? TRT 8.2.1.8
I meet the same problem, anyone has solutions? TRT 8.4.1.5 CUDA Version: 11.1 CUDNN Version: 8.0.4 Operating System: win10 Python Version (if applicable): 3.7 PyTorch Version (if applicable): 1.11 [shuffleNode.cpp::nvinfer1::builder::ShuffleNode::symbolicExecute::392] Error Code 4: Internal Error (Reshape_75: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
Similar problem here too
Similar problem
RuntimeError: While parsing node number 14:
ModelImporter.cpp:180 In function parseGraph:
[6] Invalid Node - Pad_14
[shuffleNode.cpp::symbolicExecute::392] Error Code 4: Internal Error (Reshape_3: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [-1,2])
Same problem in TRT 8.2.1.8
IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [1,5]
I found the error occurred in tf.repeat, then I switched to tf.tile,it worked fine.
[2019-09-23 10:29:41 WARNING] Setting layouts of network and plugin input/output tensors to linear, as 3D operators are found and 3D non-linear IO formats are not supported, yet. [2019-09-23 10:29:41 ERROR] (Unnamed Layer* 182) [Shuffle]: IShuffleLayer applied to shape tensor must have 0 or 1 reshape dimensions: dimensions were [1,5]