Questions tagged [matcaffe]

MatCaffe is a MATLAB interface for the deep-learning framework Caffe.

Caffe is a framework by the Berkeley Vision and Learning Center (BVLC). It is based on and and supports both CPU and GPU processing. Caffe is released under the BSD 2-Clause license.

MatCaffe is a MATLAB interface for the Caffe framework. Use the tag in addition to the tag for problems related to the MATLAB interface.

Useful links:

96 questions
1
vote
0 answers

How do i solve "make matcaffe" error on ubuntu?

I'm working on window10 64-bit and VirtualBox ubuntu-14.04 I'd like to work with matlab and caffe. When I try to run make matcaffe the following error appears: make: /Applications/MATLAB_R2015b.app/bin/mexext: Command not found MEX…
1
vote
1 answer

How to use SigmoidCrossEntropyLoss in caffe for binary class classification?

How to use SigmoidCrossEntropyLoss in caffe for binary class problem? Can you give me a prototxt example?
user570593
  • 3,420
  • 12
  • 56
  • 91
1
vote
0 answers

How can I train my data set in Matlab using Caffe?

If I already have deploy.prototxt,solver.prototxt,train_val.prototxt.How can I code in matlab to call function of Caffe to train my data set.I know caffe-master\matlab\demo there is a demo code but it just for classsification not train.Who have a…
Zhao Wulanaren
  • 161
  • 1
  • 2
  • 9
1
vote
0 answers

Matcaffe training net produces "Data layer prefetch queue empty"

I'm trying to figure out why my MatCaffe implementation cannot pop from my train lmdb, which I've created using convert_imageset.bin. What I do is basically just this: solver = caffe.Solver(solverFile); solver.step(500); and when looking at the…
whiletrue
  • 11
  • 3
1
vote
0 answers

Caffe: Multi-GPU support with Matlab (Matcaffe)

Caffe is a deep learning framework that also includes a Matlab interface (Matcaffe). While Caffe supports multiple GPUs it seems that Matcaffe does not at the moment. Does anyone know of a workaround?
ASML
  • 199
  • 12
1
vote
1 answer

Trying to use matcaffe for the interface between MATLAB and Caffe, but cannot find caffe_.cpp

With caffe_.cpp being a private function, when I call functions like caffe.reset_all(), there is always an error telling me it cannot find caffe_.cpp. So how to use that in MATLAB?
1
vote
1 answer

Error using caffe Invalid input size

I tried to train my own neural net using my own imagedatabase as described in http://caffe.berkeleyvision.org/gathered/examples/imagenet.html However when I want to check the neural net after training on some standard images using the matlab…
mcExchange
  • 6,154
  • 12
  • 57
  • 103
0
votes
0 answers

Invalid MEX-file '/home/caffe/matlab/+caffe/private/caffe_.mexa64': /usr/local/lib/libopencv_imgcodecs.so.3.4: undefined symbol:

When I make mattest(after making matcaffe successfully),I met the follow problem. Invalid MEX-file '/home/caffe/matlab/+caffe/private/caffe_.mexa64': /usr/local/lib/libopencv_imgcodecs.so.3.4: undefined…
youthM
  • 21
  • 2
0
votes
0 answers

Why the loss value of Adam solver is strating to increase after 100k iterations?

I had already trained the CNN with SGD, and it is training well. However, once I am training the model with Adam solver, after 100k iteration almost, it is starting to increase the loss value. Could you please help me to interpret this? The…
S.EB
  • 1,966
  • 4
  • 29
  • 54
0
votes
1 answer

How can I use matcaffe in Windows?

To use caffe in MATLAB, i need matcaffe. The manual tells me to run "make all matcaffe" But it does not tell where to command. I command "run make all" matcaffe by running cmd from the cafe root folder where caffe.exe exists. But there is an error…
ONION
  • 239
  • 1
  • 4
  • 13
0
votes
0 answers

How to change the padding for semantic segmentation?

I am trying to run UNet on my data, which is grayscale images with 256x256 resolution. UNet is downsampling the image to 1-by-5-by-84-by-84 (5 is number of classes). and I am getting the following error: 0501 02:16:17.345309 2433 net.cpp:400] loss…
user630317
  • 31
  • 8
0
votes
1 answer

Invalid MEX file from any other folder except private folder

I have compiled matcaffe with caffe in Windows. My current matcaffe folder structure is as below: . C:\PYTHON\caffe |-- matlab | |-- +caffe | …
user62039
  • 371
  • 2
  • 15
0
votes
0 answers

Error in make mattest in caffe

I am able to compile matcaffe but I am unable to run make mattest. My system config: Ubuntu -16.04, opencv 2.4.9, gcc-5, g++-5, Matlab2017b. Here's the crash report from matlab: Segmentation violation detected at Fri Mar 2 12:37:16…
talos1904
  • 952
  • 3
  • 9
  • 24
0
votes
1 answer

Augmentation python layer for segmentation is raining error. Why?

I am doing segmentation. Thus, both image and label need to be shifted in the same direction and same shifting value. I am trying to add augmentation layer to do shifting in x and y direction. What I am doing wrong in this Python Layer code? Could…
S.EB
  • 1,966
  • 4
  • 29
  • 54
0
votes
1 answer

How to combine the probability (soft) output of different networks and get the hard output?

I have trained three different models separately in caffe, and I can get the probability of belonging to each class for semantic segmentation. I want to get an output based on the 3 probabilities that I am getting (for example, the argmax of three…
S.EB
  • 1,966
  • 4
  • 29
  • 54