Hi,
I have an isssue with a model that has a CropAndResize operator related to the processing of the boxes input. The error is as following:
Traceback (most recent call last):
File "tvm_eval_2nd_half.py", line 247, in <module>
mod, params = tvm_eval_non_tuned()
File "tvm_eval_2nd_half.py", line 75, in tvm_eval_non_tuned
shape=shape_dict)
File "/home/tvm/tvm/python/tvm/relay/frontend/tensorflow.py", line 2441, in from_tensorflow
mod, params = g.from_tensorflow(graph, layout, shape, outputs)
File "/home/tvm/tvm/python/tvm/relay/frontend/tensorflow.py", line 2085, in from_tensorflow
op = self._convert_operator(node.op, inputs, attr, graph)
File "/home/tvm/tvm/python/tvm/relay/frontend/tensorflow.py", line 2404, in _convert_operator
sym = convert_map[op_name](inputs, attrs, self._params)
File "/home/tvm/tvm/python/tvm/relay/frontend/tensorflow.py", line 504, in _impl
boxes = params.pop(inputs[1].name_hint).asnumpy().tolist()
File "/home/tvm/tvm/python/tvm/_ffi/_ctypes/node.py", line 75, in __getattr__
"'%s' object has no attribute '%s'" % (str(type(self)), name))
AttributeError: '<class 'tvm.relay.expr.Call'>' object has no attribute 'name_hint'
I have tried to add AtributteError
to the except
but still it does not work as I get the following error:
AssertionError: All inputs to infer must be available in params.
@yongwww @srkreddy1238 maybe you can comment on this since you added this operator recently