Hi All,
I am trying to run the compile a caffe2 model on a Mac Machine.
I am able to run a sample model on the Mac Machine as in the Link:
https://docs.tvm.ai/tutorials/frontend/from_caffe2.html#sphx-glr-tutorials-frontend-from-caffe2-py
But when trying to run a diiferent caffe2 model. I am getting multiple Errors as below:
Error 1:
%0 = nn.conv2d(%image, meta[relay.Constant][0], strides=[2, 2], padding=[3, 3], channels=32, kernel_size=[7, 7])an internal invariant was violated while typechecking your program [14:35:34] /Users/sfacecita/Mallappa/tvm/src/relay/pass/type_solver.cc:119: Check failed: resolved.defined(): Unable to unify parent types: TensorType([32, 3, 7, 7], uint8) and TensorType([32, 3, 7, 7], float32)
Error 2:
%9 = nn.max_pool2d(%8, pool_size=[2, 2], strides=[2, 2])an internal invariant was violated while typechecking your program [14:35:34] /Users/sfacecita/Mallappa/tvm/src/relay/op/nn/pooling.cc:73: Check failed: data != nullptr:
Error 3:
%129 = concatenate(%128, axis=1)an internal invariant was violated while typechecking your program [14:35:34] /Users/sfacecita/Mallappa/tvm/3rdparty/HalideIR/src/tvm/node/node.h:264: Check failed: ref->template is_type() || ref->template derived_from(): Downcast from relay.IncompleteType to relay.TensorType failed.
I am unable to understand the errors as I have followed everything from the documentation for setup and compiling the model.
Kindly help with the issue.