Answered
I want to apply 1D CNN on sequence data, is there any provision for this additional layer in MATLAB?
Currently 1D convolutional layers are not supported. As a potential workaround you can try using imageInputLayer. https://www....

nästan 4 år ago | 0

Answered
How to designthe SAGAN self attention layer?
You would have to create a custom layer. If you are using R2020a version, you'll be able to load the custom layer into the Deep ...

nästan 4 år ago | 0

Answered
Deploy classification learner model
Refer to the following link on how to use your model on new data https://www.mathworks.com/help/stats/export-classification-mod...

nästan 4 år ago | 0

Answered
Yolo v3 training on coco data set
You can refer to the following link for training a YOLOv3 object detector. In place of the dataset used in this example, you can...

nästan 4 år ago | 0

Answered
Input Data format in deep learning
Hi, If you're doing a sequence-to-sequence classification, for the input layer, you have to use the sequenceInputLayer and for ...

nästan 4 år ago | 0

| accepted

Answered
How do I correlate two tables with a different number of rows?
You could also convert the table to a matrix and use interpolation on the smaller matrix to resize it to the larger matrix's siz...

nästan 4 år ago | 1

| accepted

Answered
Finding the number of occurance of each value in the each columns of a matrix.
A similar question has already been asked and answered by the community which could be of relevance to you. You can refer to th...

nästan 4 år ago | 0

| accepted

Answered
Joining two curves on an image
You can use imdilate to make the lines come closer to each other. This will increase the width of the lines as well. To reduce t...

nästan 4 år ago | 0

Answered
How to use trainNetwork with varying lengths of inputs and outputs?
From the error, I'm guessing the size of the output from the last layer of your network is not same as the size of YTrain, which...

nästan 4 år ago | 0

Answered
How can I use Two-Dimensional True Compression on arbitrarly sized images?
Since wcompress works only on images of sizes with power of 2, you could either resize the images to a particular size like (25...

nästan 4 år ago | 1

| accepted

Answered
Is a LSTM parameter to sequence regression possible?
For a sequence input, you can use sequenceInputLayer. sequenceInputLayer(featureDimension) For more informatiom on sequenceI...

nästan 4 år ago | 0

Answered
trained stacked auto encoders
One way is to use imageDatastore. datasetPath = fullfile('/path/to/dataset'); imds = imageDatastore(datasetPath, ... 'Inc...

nästan 4 år ago | 0

Answered
Different results between Deep Learning Network Analyzer and Deep Network Designer analysis
I assume you're using R2020a. I have brought this issue to the notice of our developers. They will investigate the matter furt...

nästan 4 år ago | 0

Answered
How can I create parallel pools in Simulink simulation
You can refer to Run Parallel Simulations documentation to get started.

nästan 4 år ago | 0

Answered
Error while running Example of TrainAnSSDObjectDetector
From the error "The value of 'bboxB' is invalid. Expected input to be finite.", it seems like one or more of the groundtruth bou...

nästan 4 år ago | 0

| accepted

Answered
Error while training SSD object detector
Make sure your groundtruths are valid and non-empty i.e., the values of the bounding boxes are finite, positive, non-fractional,...

nästan 4 år ago | 0

| accepted

Answered
Error using trainNetwork - Number of observations in X and Y disagree.
Try using net = trainNetwork(TB_train, TS_train, Layers, options);

nästan 4 år ago | 0

Answered
Looping and indexing with global variables
Hi, Seems like the variable "diff_ca" is empty. Try initializing it to an array of zeros first time the function mainfun2 is ca...

nästan 4 år ago | 0

Answered
Reading in txt data files with changing names
Based on the file name type, you should form the "foldername" and "fileselectfortime". You can modify your code as shown below:...

ungefär 4 år ago | 0

| accepted

Answered
Which version of Matlab is compatible with macOS Sierra 10.12.6?
The System Requirements page states that the earliest Mac OS on which release R2020a is supported is macOS High Sierra (10.13.6)...

ungefär 4 år ago | 0

Answered
How measure sensitivity and specificity when using kfold cross validation?
Hi, You can use confusionmat to obtain the True Positive (TP), True Negative (TN), False Positive (FP), False Negative (FN), wh...

ungefär 4 år ago | 1

| accepted

Answered
Multiple input (sequence and static) to a dag network
Hi, The latest version of MATLAB allows the training of networks with multiple inputs. Please refer to the following link for...

ungefär 4 år ago | 0

Answered
Binary Search - Descending order
Hi, You need to keep searching until you find the target. For this you need to add a while loop, which keeps reducing the searc...

ungefär 4 år ago | 0

Answered
what is the 'NSMethod','exhaustive' k-nearest neighbor classifier
Hi, NSMethod is the Nearest neighbor search method, specified as either 'kdtree' or 'exhaustive'. 'kdtree' — Creates and uses ...

ungefär 4 år ago | 0

| accepted

Answered
image processing: how to separate back ground(black) from the foreground objects (white)
Depending on the complexity of the image, different segmentation techniques can be used: Watershed segmentation: Watershed segm...

ungefär 4 år ago | 0

Answered
Time info is not read correctly by readtable
Hi, This is a known issue and our development team is working on it. Until this issue is resolved, please use Microsoft Excel...

ungefär 4 år ago | 1

Answered
Improvement of the neural net fitting app
Poor neural network performance might be because the error is not able to reach the goal. If this occurs then you can try the fo...

ungefär 4 år ago | 0

| accepted

Answered
How to get brushed data point index or coordinate from a 3D Plot?
Hi, The following snippet might be of help to you. Handle = plot3(Pos(:,1),Pos(:,2),Pos(:,3), 'o'); axis equal; view(0,90) ...

ungefär 4 år ago | 1

| accepted

Answered
Convert cell array with different data type to a matrix in MATLAB
A similar question has already been answered by the community which might be of relevance to you. Please refer to the following ...

ungefär 4 år ago | 1

Answered
Brush data returns empty 0x0 ogical
You can refer to the following snippet and modify it according to your need: x = rand(20,1); y = rand(20,1); Handle = scatter...

ungefär 4 år ago | 1

| accepted

Load more