I’ve a bit of problem. When I execute:
engine = trt.utils.uff_to_trt_engine(G_LOGGER, uff_model, parser, 19, 1 << 20)
in jupyter notebook, kernel crashes. When I run the py file, I get this error:
python3: Network.h:104: virtual nvinfer1::DimsHW nvinfer1::NetworkDefaultConvolutionFormula::compute(nvinfer1::DimsHW, nvinfer1::DimsHW, nvinfer1::DimsHW, nvinfer1::DimsHW, nvinfer1::DimsHW, const char*): Assertion `(input.w() + padding.w() * 2) >= dkw && “Image width with padding must always be at least the width of the dilated filter.”’ failed.
Aborted (core dumped)
What is dkw in Assertion `(input.w() + padding.w() * 2) >= dkw?
My conv has the following format:
conv1 = tf.layers.conv2d(x_t, 32, [7, 3], strides = [2, 2], padding = 'same', data_format='channels_first', kernel_initializer = tf.initializers.variance_scaling(0.005))
I don’t have any problem with building the network and training but it seems I’ve an issue with tensorrt! Any suggestion?! Is there something that hasn’t been supported?!