I have a series of P images, each MxNxC (in other words C channels) organized as a 4D numeric array X where size(X) is [M,N,C,P]. I have a corresponding series of P label maps orga…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
I have a series of P images, each MxNxC (in other words C channels) organized as a 4D numeric array X where size(X) is [M,N,C,P]. I have a corresponding series of P label maps orga…
I have the following input and target matrix Input: 110 samples of 273x262 Target: 110 samples of 273x262 I have to work on deep learning regression problem with a simple …
In the deep learning toolbox, I cannot easily manipulate a specific layer. For example, I know the name of a layer. How can I quickly find it in the layer array? layers = [co…
I tried to replicate the example " Transfer Learning Using AlexNet " with GoogleNet, but i don't understand how to modify the last 3 layers in order to retrain the pretrained netw…
I'm trying to implement a CNN layer + a LSTM layer, but I have an error: "Network: Incompatible layer types". Is it not possible to implement this combination in MATLAB or am I jus…
Error when using convolution2dLayer between connected maxPooling2dLayer and maxUnpooling2dLayer I'm trying to create a modified UNet using connected max pooling and max unpoolin…
Hi, I am trying to apply "Train Deep Learning Network to Classify New Images". I did test exactly according to https://www.matlabsolutions.com/documentation/deeplearning/train-deep…
net=patternnet(10); [net,tr]=train(net,inputs,targets); outputs=net(inputs); [values,pred_ind]=max(outputs,[],1); [~,actual_ind]=max(targets,[],1); accuracy=sum(pred_ind==actual_in…
I have created simple CNN for semantic segmentation and repalced last layer with focal loss layer to use focal loss fucntion instead of pixel classification function. Network…
"Unable to evaluate the loss function. Check the loss function and ensure it runs successfully": `gradient` can't access the custom loss function I am trying to build a custom rein…