Hello everyone,
I have a question regarding the usage of Caffe Library in a distributed model that I am building. I need, mainly, to send the weights of a trained network from one node to another. I thought of two alternatives:
1- Creating the final caffemodel on the sending node, and then sending that file to the other node, which parses the caffemodel and then extracts the weights from it.
2- Sending the individual weight values calculated, with a key that tells the other node to which parameter this value belongs without packaging the network into caffemodels on the sender node. The receiver node later will take the weights belonging to each key and use them in their corresponding position based on the key associated with them.
The second alternative seems much better in terms of performance and easiness of implementation. However, I need to ask you about how to access each parameter (i.e. weight) of the network, before packaging into caffemodel, in order to send it individually to the other node. What is the syntax needed for accessing those weights?
If that is not possible, could you please help me with a code snippet that would guide me on how to parse the caffemodel file in order to extract the weights?
Thank you in advance.
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/c5df3ef6-38af-4a37-b0e7-b625d9e21716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.