aidan-plenert-macdonald commented on issue #8591: How do I make a siamese 
network with pretrained models (esp. keeping the weights the same?)
URL: 
https://github.com/apache/incubator-mxnet/issues/8591#issuecomment-343536911
 
 
   If you want to share weights across the network, why not just use one copy 
of the network and run it twice with the inputs?
   
   ```python
   final_net(nd.concat(shared_net(x), shared_net(x)))
   ```
   
   Also, I definitely recommend using Gluon instead of pure MxNet

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