I want to train a convolutional neural network in one language, but use it in another one (for various technical/performance related reasons). Is there a programmatic way of doing this by saving weights?
For example, I can train a multilayer perceptron in Python, then save all the weights in a CSV file, then make a new MLP in Java and use the file to set the weights. However, I'm unsure of how I can do something similar with a convolutional neural network because I don't know how to treat the convolutional layer. I think my main problem is understanding how to export/save the convolution part of the network and then load them elsewhere.