MatConvNet is a MATLAB toolbox implementing Convolutional Neural Networks (CNNs) for computer vision applications.
Questions tagged [matconvnet]
67 questions
0
votes
1 answer
Matconvnet output of deep network's marix is uniform valued instead of varying values?
Im trying to achieve a density map from network output of dimension 20x20x1x50. Here 20x20 is the output map and 50 is the batch size.
The issue is that the value of output X is equal 0.098 across each output matrix..20x20. There is no gaussian…

h612
- 544
- 2
- 11
0
votes
0 answers
Implementing custom loss function in MatConvNet
I want to implement a custom loss function (from this paper: https://arxiv.org/abs/1706.00909) in MatConvNet.
My code uses the DagNN wrapper. I want to modify the class SegmentationLoss() to use a custom loss function, custom_loss() instead of…

jlhw
- 245
- 1
- 17
0
votes
1 answer
Error using vl_nnconv An input is not a numeric array (or GPU support not compiled)
I'm getting this error although I did not compile Matconvnet with GPU support.
Does anyone else know this error?
May it be a Matconvnet-version issue?

mcExchange
- 6,154
- 12
- 57
- 103
0
votes
1 answer
Matconvnet showing error while atttempting to parapool
I am attempting to run the mnist example in matconvnet using parapooling. I have allocated 2 gpus, but it shows this error while trying to run cnn_mnist_experiments:
Error using cnn_train>(spmd) (line 157)
Error detected on workers 1 2.
Error in…

tdr
- 11
- 2
0
votes
1 answer
How the deep network accepts images of different scales in object detection?
The network built with MatConvNet accepts images of different scales and evaluates it. For example :-
%img is an image of size 730*860*3
%net is loaded DagNN obj
scales = [-2 -1 0 0.5 1]
for s = 2.^scales
img = imresize(raw_img, s, 'bilinear');
…

Ujjal Kumar Das
- 191
- 3
- 15
0
votes
1 answer
Convolutional Neural Networks, Implementation using MatConvNet toolbox. How to deal with Overfitting?
I've currently been working with CNN's and am having a hard time with what I believe is overfitting. Specifically, even though my training data converges to a minimum error, my validation data still refuses to drop in respect to error. My input data…

Charles
- 43
- 1
- 7
0
votes
1 answer
Does scaling the values to [0,1] affect the CNN learning procedure?
I am working on semantic segmentation using CNNs.
I have normalized the values of images to range [0,1]. I have trained my network many times, learning curve seems is learning well, however, the output is always black image. My question is does…

S.EB
- 1,966
- 4
- 29
- 54
0
votes
1 answer
Does work Batch normalization when Batchnormalization=false to true in Matconvnet
I am using matconvnet library. In the MNIST example the default parameter batchnormalization=true. But VL_NNBNORM() function has nothing(just comment lines). Is it working though this? or Am i have to change vl_nnbnorm function?
I mean that if i…

Ahmet Gökhan Poyraz
- 170
- 1
- 10
0
votes
1 answer
Deep Neural Networks, What is Alexnet output and loss function relationship?
I am trying to understand DNN with Matconvnet DagNN. I've a question based on the following last two layers of a net which uses euclidean loss for regression
net.addLayer('fc9', dagnn.Conv('size', [1 1 4096 1], 'hasBias', true, 'stride', [1,1],…

h612
- 544
- 2
- 11
0
votes
1 answer
Worse performance with transfer learning in convolutional neural network
I am doing emotion recognition with convolutional neural networks in MatConvNet. I have one main big dataset(A with 40.000 pics) and two harder, smaller datasets(B,C with 5.000 pics) with the same classes. When I run my network on the dataset A with…

Nicole
- 31
- 6
0
votes
0 answers
Regression based number estimation?
I'm using AlexNet to train regression based count estimation.
My code as as folows
...
net.addLayer('fc7', dagnn.Conv('size', [1 1 4096 4096], 'hasBias', true, 'stride', [1, 1], 'pad', [0 0 0 0]), {'bn6'}, {'fc7'}, {'conv7f' …

h612
- 544
- 2
- 11
0
votes
1 answer
residual network cell content reference error on matconvnet
I am using mathconvnet 1.0 beta24. I can install and compile the toolbox correctly. When I follow the quickstart on the website(http://www.vlfeat.org/matconvnet/quick/);
I start…

yns
- 440
- 2
- 8
- 28
0
votes
1 answer
Is this graphical visualization correct?
I am new in deep learning and trying to draw the fcn32 architecture (Figure 3 in paper) based on my design and shapes. Could you please have a look on schematic of FCN32 architecture and let me know if some parts need to be corrected?Thanks

S.EB
- 1,966
- 4
- 29
- 54
0
votes
2 answers
Is it possible to create a CNN with real output?
The output type of the trainNetwork() must be categorical(). How can I create a CNN with float/real output(s)?
I mean the following command gives the following error:
>> convnet = trainNetwork(input_datas, [0.0, 0.1, 0.2, 0.3], networkLayers,…

betontalpfa
- 3,454
- 1
- 33
- 65
0
votes
1 answer
How Do I Evaluate My Self Trained MATCONNET CNN network
I am trying to build my own CNN (Alexnet Model) for traffic sign recognition using MATCONVNET. I used the image dataset from the German Traffic Sign Recognition Benchmark (GTSRB) website (http://benchmark.ini.rub.de/?section=gtsrb&subsection=datase)…

Naz_Jnr
- 570
- 1
- 7
- 17