liangfu commented on issue #4887: [VTA] YoloV3 Support
URL: https://github.com/apache/incubator-tvm/pull/4887#issuecomment-590695690
 
 
   Hi @huajsj , thanks for the great work!
   
   I tried your tutorial on PYNQ board with a merge with latest code base, I 
failed with following error:
   ```python
     File 
"/home/liangfu/workspace/tvm_upstream/vta/python/vta/top/graphpack.py", line 
145, in visit_call
       oshape = _get_shape(call)
     File 
"/home/liangfu/workspace/tvm_upstream/vta/python/vta/top/graphpack.py", line 
112, in _get_shape
       return _to_shape(node.checked_type.shape)
     File "/home/liangfu/workspace/tvm_upstream/python/tvm/runtime/object.py", 
line 56, in __getattr__
       "%s has no attribute %s" % (str(type(self)), name))
   AttributeError: <class 'tvm.ir.type.TupleType'> has no attribute shape
   ```
   I observe node.checked_type is assumed to be TensorType, and it has the 
`shape` attribute. But the above error shows that the node is a TupleType that 
contains multiple TensorType. Any idea?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to