KeyKy opened a new issue #8052: I need to add a name prefix in resnet.py
URL: https://github.com/apache/incubator-mxnet/issues/8052
 
 
   I found the symbol's name in resnet.py are fixed, for example (conv0):
   
   ```
   body = mx.sym.Convolution(data=data, num_filter=filter_list[0], kernel=(7, 
7), stride=(2,2), pad=(3, 3), no_bias=True, name="conv0", workspace=workspace)
   ```
   
    so I can not create two resnet. How can i add a name prefix to resnet.
   
   ```
   with namescope(prefix='resnet1'):
     body = mx.sym.Convolution(data=data, num_filter=filter_list[0], kernel=(7, 
7), stride=(2,2), pad=(3, 3), no_bias=True, name="conv0", workspace=workspace) 
# body's name is resnet1/conv0
   
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to