You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/11/17 08:37:45 UTC

[GitHub] [incubator-tvm] fanwei-china removed a comment on issue #6931: Problems when import BERT model from tensorflow Relay

fanwei-china removed a comment on issue #6931:
URL: https://github.com/apache/incubator-tvm/issues/6931#issuecomment-728774631


   Traceback (most recent call last):
        File "tutorials/frontend/test_nlp.py", line 109, in <module>
        shape=shape_dict)
   
        File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/tensorflow.py", line 2742, in from_tensorflow
        mod, params = g.from_tensorflow(graph, layout, shape, outputs)
   
        File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/tensorflow.py", line 2372, in from_tensorflow
        op = self._convert_operator(node.op, inputs, attr, graph)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/tensorflow.py", line 2702, in _convert_operator
        sym = convert_map[op_name](inputs, attrs, self._params, self._mod)
    
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/tensorflow.py", line 1145, in _impl
      out_shape = _infer_shape(out, mod=mod)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/common.py", line 478, in infer_shape
        out_type = infer_type(inputs, mod=mod)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/relay/frontend/common.py", line 463, in infer_type
       mod["main"] = _expr.Function(tvm.relay.analysis.free_vars(node), node)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/ir/module.py", line 75, in __setitem__
   return self._add(var, val)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/ir/module.py", line 84, in _add _ffi_api.Module_Add(self, var, val, update)
   
       File "/root/.local/lib/python3.6/site-packages/tvm-0.7.dev1-py3.6-linux-x86_64.egg/tvm/_ffi/_ctypes/packed_func.py", line 213, in __call__ raise get_last_ffi_error()
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org