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/23 20:55:47 UTC

[GitHub] [incubator-tvm] hypercubestart opened a new issue #6962: [Frontend][Relay] YOLO module is unparsable

hypercubestart opened a new issue #6962:
URL: https://github.com/apache/incubator-tvm/issues/6962


   The module generated from the code in this tutorial: https://tvm.apache.org/docs/tutorials/frontend/from_darknet.html
   causes the following error when parsed by:
   
   ```
   import tvm
   tvm.parser.parse(mod.astext())
   ```
   
   error: expected a local variable found `.`, which is caused by formals (i.e %LAYERTYPE.CONVOLUTIONAL0_weight: Tensor[(32, 3, 3, 3), float32]) which the '.' character, which is unrecognized by the parser.
   
   @jroesch recommended two options:
   1. modify importer to replace invalid characters
   2. modify parser to handle the '.' character


----------------------------------------------------------------
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