Hi, I’m attempting to compile CenterTrack with TVM. I’ve used the CT repo’s onnx conversion script to export a model.onnx
file (I have torch==1.3 installed).
I’m now attempting to follow the Compile ONNX Models tutorial.
I’ve opened my model.onnx
file in Netron to view the inputs, which are:
input_shapes = {'input.1': (1,3,736,1280), 'input.4: (1,3,736,1280), 'input.7': (1,3,736,1280)}
(This is a tracking model which uses the current image, previous image frame, and a single-channel heatmap output from previous frame)
I’ve built TVM from source including both CUDA and LLVM. I’ve tried both targets on the step titled, " Compile the model with relay", however, at the line:
mod, params = relay.frontend.from_onnx(onnx_model, shape_dict)
I get the following error on a conv2d_transpose
layer:
%187 = nn.relu(%186); %188 = nn.conv2d_transpose(%187, %dla_up.ida_0.up_1.weight, channels=1, kernel_size=[4, 4], strides=[2, 2], padding=[1, 1, 1, 1], groups=256) in particular dimension 1 conflicts 0 does not match 1; unable to unify: `Tensor[(256, 0, 4, 4), float32]` and `Tensor[(256, 1, 4, 4), float32]`; ; add(%188, %155) }
Does anyone know what this means and how I can solve it?