ERROR: UFFParser: Parser error: gender_resnet0_batchnorm0/mul: Invalid scale mode, nbWeights: 3

Hi all,

I'm facing a problem of inference a UFF model by using TensorRT on my TX2. The error message is like following.
ERROR: UFFParser: Parser error: gender_resnet0_batchnorm0/mul: Invalid scale mode, nbWeights: 3
ERROR: sample_uff_mnist: Fail to parse
ERROR: sample_uff_mnist: Model load failed
Anyone know how to solve this problem? I have seen a topic with same problem but it didn't provide the solution. If needed, I can provide my model.

My environment:
TX2
TensorRT 4.1.3
CUDA9.0

Hi,

Is there any reshape layer inside your model?
There is a similar issue which is caused by the reshape op:
https://devtalk.nvidia.com/default/topic/1045471/tensorrt/error-uffparser-parser-error-sub-invalid-scale-mode-nbweights-3/

If not, would you mind to share the .pb model with us?
Thanks.