Answered
How can I use the function 'Predict' in deep learning toolbox with full GPU capacity
As per my knowledge, the fluctuation in the memory usage is due to the different computational and memory requirement across the...

5 meses ago | 0

| accepted

Answered
Saving an output of additional optional test result in neural network
You can make use of the sim function or you can directly call the neural network object (net) as a function on your additional t...

5 meses ago | 0

Answered
Remove Bias from neural net
You can remove the bias by setting the value of net.biasConnect of all the layers of the neural network to zero. Refer to the do...

5 meses ago | 0

| accepted

Answered
How to get spectrogram data to align with signal data
You can make use of the Position and the XLim properties of the axes. Refer to the documentation of Axes Properties for more inf...

6 meses ago | 0

| accepted

Answered
How to convert a 1xn cell array composed of 1D arrays to a higher dimensional (nested) cell array?
I think above code is the simple and easiest way to do it. You can also do it as follows: M = max(cellfun(@numel, XX)); y = c...

6 meses ago | 1

| accepted

Answered
How to change output classes for image classification in alexnet?
If the classes listed from line "front_or_left = find(imd...." in the above code are the only classes which are 24 in total then...

6 meses ago | 0

| accepted

Answered
Training Failed - Deep Network designer
As the error clearly states, it seems that your data contains a mixture of grayscale and RGB images, use ColorPreprocessing Name...

6 meses ago | 0

Answered
Deep Network Designer Toolbox
As the error clearly states, it seems that your data contains a mixture of grayscale and RGB images, use ColorPreprocessing Name...

6 meses ago | 0

Answered
how to reduce memory cost for transfer learning with semantic segmentation
Try reducing the mini-batch size using the 'MiniBatchSize' option of trainingOptions. If reducing the mini-batch size does not ...

6 meses ago | 0

Answered
Expected input to be one of these types: double, single Instead its type was audioDeviceReader.
audioDeviceReader returns a System object, deviceReader, that reads audio samples using an audio input device in real time. You ...

6 meses ago | 0

Answered
How do I translate this equation into matlab code?
You can refer to the following resources to get started: Solve Differential Equation, Solve a System of Differential Equations, ...

6 meses ago | 0

Answered
trainNetwork in MATLAB after several iterations gives error: Array dimensions being concatenated are inconsistent?
As per my knowledge, when using datastores and batchSize greater than 1 all the training samples should be of same size. The tra...

6 meses ago | 0

| accepted

Answered
Add variable as input parameter in deep learning model
You can refer to Multiple-Input and Multiple-Output Networks to create a network with multiple inputs. The following is an exam...

6 meses ago | 0

| accepted

Answered
normalization when calling fitnet
You can check it by accessing the processFcns subobject property of the network object. % Construct a function fitting neural n...

6 meses ago | 0

Answered
The output size of the last layer does not match the response size?
The issue is probably due to the format of the responses of the training data and not w.r.t the convolution filter, padding etc....

7 meses ago | 0

| accepted

Answered
How to train complex [64 1] matrices in deeplearning nw
You can refer to the example: Modulation Classification with Deep Learning, specifically the pretrained network and "Transform C...

7 meses ago | 0

| accepted

Answered
Weight restriction during training neural network
You can create a dlnetwork and train the network using Custom Training Loop. Within the Model Gradients Function access the wei...

7 meses ago | 0

Answered
C-LSTM Input of 4D to predict 12X1 values
Refer to the documentation of the Input Arguments: sequences & responses of the trainNetwork function for the syntax net = tra...

7 meses ago | 0

Answered
How can i use CNN?
You can refer to Create Simple Deep Learning Network for Classification, Training a Model from Scratch, Get Started with Deep Le...

7 meses ago | 0

Answered
How to train semantic segmentation network to recognize one class?
For any type of classification task there should atleast two classes in general or a single class with outputs as Yes or No (Bin...

7 meses ago | 0

Answered
Vector Scope Simulink R2020b
Starting in R2018b the Vector Scope block has been removed. You will have to use the following blocks instead: Time Scope — Vis...

7 meses ago | 0

Answered
Simscape not in r2020a
Simscape Onramp is only available starting in MATLAB R2021a. You can download the latest version of MATLAB R2021a and access the...

7 meses ago | 0

Answered
Training CNN on training set with different numbers of images in the training set
You can enable ClassWeights for classificationLayer or you can also use focalLossLayer.

7 meses ago | 0

| accepted

Answered
Problem with fitceco can you help me please ?
Change line 48 to: classifier = fitcecoc(trainingFeatures,trainingLabels,'Coding','onevsall','ObservationsIn','columns') Refer...

7 meses ago | 0

| accepted

Answered
Saving Label output using for loop
Instead of using sprintf you can save the labels into a categorical array as follows: image_folder = cd; filenames = dir(fullf...

7 meses ago | 0

| accepted

Answered
Error using errorbar>checkSingleInput (line 264) XData must be the same size as YData. I'm trying to create error bars for the following points in x an y.
As per the syntax errorbar(x,y,neg,pos), the size of x and y should be same but in the above code ChBm and ChAn have different s...

7 meses ago | 0

Answered
How can i fix this error?
Even though you are creating a "auds" augmentedImageDatastore object, you are not using it to train your network. Change the lin...

7 meses ago | 0

| accepted

Answered
Deep learning function for LiDAR and point cloud data.
You can refer to the following: Getting Started with Point Clouds Using Deep Learning, Lidar Labeling, Segmentation, and Detecti...

7 meses ago | 0

Answered
Which MATLAB course to start as a beginner with 0 knowledge.
You can get started with the MATLAB Onramp course and also refer to the following pages Getting Started with MATLAB & Get Starte...

7 meses ago | 0

Load more