tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-tvm] alexwong opened a new issue #5835: Darknet library support out of date/inconsistent with master?
Date Wed, 17 Jun 2020 18:45:19 GMT

alexwong opened a new issue #5835:

   I recently tried to run the darknet tutorial using a shared library built from the master
branch ( rather than the one hosted here
which seems to be I am hitting an error in
the darknet->relay converter.
   Traceback (most recent call last):
     File "tutorials/frontend/", line 92, in <module>
       mod, params = relay.frontend.from_darknet(net, dtype=dtype, shape=data.shape)
     File "/tvm/python/tvm/relay/frontend/", line 851, in from_darknet
       return GraphProto(net, shape, dtype).from_darknet()
     File "/tvm/python/tvm/relay/frontend/", line 815, in from_darknet
       params = self._get_darknet_params(self._net.layers[i], prefix)
     File "/tvm/python/tvm/relay/frontend/", line 664, in _get_darknet_params
       params = self._get_convolution_weights(layer, opname)
     File "/tvm/python/tvm/relay/frontend/", line 470, in _get_convolution_weights
       biases = self._read_memory_buffer((layer.n, ), layer.biases)
     File "/tvm/python/tvm/relay/frontend/", line 455, in _read_memory_buffer
       data_np[i] = data[i]
   RuntimeError: cannot dereference null pointer from cdata 'float *'
   Using either the .so hosted by TVM or building
works fine. I am wondering if this is a version problem between the master darknet branch
and the one TVM is testing against (although, it seems the one TVM is using isn't that stale).
If so, I am also wondering if/when the converter and library used by TVM for testing will
be updated to the master version? @siju-samuel 

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:

View raw message