I have a JSON saved from the demo network (which trained a CNN on MNIST data for 10 minutes on my browser)
I want to know if I can use it to predict on an image saved on my laptop in the following manner.
net = new convnetjs.Net();
net.fromJSON(json);
var x = convnetjs.img_to_vol(document.getElementById('some_image'))
var output_probabilities_vol = net.forward(x)
Please tell me how you would do it? If possible give me a running example.
Thanks,
Aditya