My Goal is Face Recognition, at first find a face and landmarks with MTCNN network.
My MTCNN model is Tensorflow pb file.
I converted it UFF file.
It’s input node name is “pnet/input_image” has a dims[ 3, -1, -1 ] (C x H x W).
Because MTCNN use pyramid scale input, -1 means unknown size.
It’s OK in Tensorflow, but I don’t know How can I use in TensorRT…
I did test with “tensorrt/bin/trtexec”,
[E] [TRT] Parameter check failed at: …/builder/Network.cpp::addInput::465, condition: isValidDims(dims)
[E] [TRT] UFFParser: failed to parseInput for node pnet/input_image
[E] [TRT] UffParse: Parser error: pnet/input_image: Failed to parse node - Invalid Tensor found at node pnet/input_image
[E] Engine could not be created
Is it possible “unknown size” in Input_node ?