Hello,
I have trained neural network. I want to put there picture to see results. I have saved my trained neural network. I load it but I don't know how to pu there image to get results. My first layer is
imageInputLayer([65 100 1])
net = network;
save network
load ('network.mat');
I put there image but I get always this error. Images are same processed as trained images. They have same sizes. They are all in grayscale.
input = imread('image.png');
output = network(image(input));
Error using false
Size inputs must be numeric.
Error in network>new_network (line 81)
if nargin < 4, inputConnect = false(numLayers,numInputs); end
Error in network (line 68)
net = new_network(in1);
Or if I put there it like numbers.
input = im2double(imread('image.png'));
output = network(input);
Error using false
Size inputs must be scalar.
Error in network>new_network (line 81)
if nargin < 4, inputConnect = false(numLayers,numInputs); end
Error in network (line 68)
net = new_network(in1);
Please help I tried to put it there like array but nothing helps me.