You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/15 07:25:42 UTC

[GitHub] [incubator-mxnet] pdx1989 opened a new issue #14957: [Bug] ValueError: There are multiple outputs with name "resnetv1b_layers4_conv0_fwd_output"

pdx1989 opened a new issue #14957: [Bug] ValueError: There are multiple outputs with name "resnetv1b_layers4_conv0_fwd_output"
URL: https://github.com/apache/incubator-mxnet/issues/14957
 
 
   Minimum reproducible example:
   import gluoncv
   import mxnet as mx
   
   data = mx.sym.var(name="data")
   net = gluoncv.model_zoo.mask_rcnn_resnet50_v1b_coco(pretrained=False)
   net.initialize()
   sym = net(data)
   sym_block = mx.gluon.nn.SymbolBlock(sym, [data])
   
   Error:
   Traceback (most recent call last):
     File "case.py", line 8, in <module>
       sym_block = mx.gluon.nn.SymbolBlock(sym, [data])
     File "/newhome/daoxin/py3-env/lib/python3.5/site-packages/mxnet/gluon/block.py", line 1050, in __init__
       for j in i.get_internals():
     File "/newhome/daoxin/py3-env/lib/python3.5/site-packages/mxnet/symbol/symbol.py", line 93, in <genexpr>
       return (self[i] for i in self.list_outputs())
     File "/newhome/daoxin/py3-env/lib/python3.5/site-packages/mxnet/symbol/symbol.py", line 517, in __getitem__
       raise ValueError('There are multiple outputs with name \"%s\"' % index)
   ValueError: There are multiple outputs with name "resnetv1b_layers4_conv0_fwd_output"
   
   Version:
   gluoncv 0.4.0
   mxnet 1.4.0
   
   Could anyone help me? Thank you!

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


With regards,
Apache Git Services