I run the demo code of RCNN with matcaffe, but I met an error which confused me for a while:
Error using caffe
Unknown command 'get_weights'
Error in rcnn_load_model (line 36)
rcnn_model.cnn.layers = caffe('get_weights');
Also, I check the directory of caffe matlab, there is not get_weights function. Do anyone know how to solve that? Thank you.
Related
I am using fastText0.9.1, each time I try to run ./fasttext supervised -input cooking.train -output model_cooking -autotune-validation cooking.valid, but I get this error:
Unknown argument: -autotune-validation
Any suggestions?
Please read this issue: https://github.com/facebookresearch/fastText/issues/889
and also this answer: fastText -autotune-validation not working
Maybe you are using an old version of fastText.
Hi I am having big trouble to read video using matlab in Ubuntu 16.04. When I try to read any format of video I get this error
Error using VideoFileReader/setup
Could not open the specified file.
I have installed all the gstreamer plugin to and I have changed matlabroot/sys/os/glnxa64/libstdc++.so.6 with my /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Last time when I installed matlab in my Ubuntu system the above method solved the problem but this time no work. I need help.
Sometimes i used to get this error to:
Error using dspmmfileinfo>tryVideoReader (line 278)
Failed to initialize internal resources. The specified file is:
/home/mofiqul/repos-git/Image-Processing/matlab/multi-object-tracking/video4.avi
Error in dspmmfileinfo>getFileInfo (line 180)
[hasAudio,hasVideo,videoFPSComputed,videoFramesPerSecond, ...
Error in dspmmfileinfo (line 40)
cache.fileInfo(index) = {getFileInfo(filename)};
Error in vision.VideoFileReader/setFileInfoProps (line 349)
Error in vision.VideoFileReader/set.Filename (line 150)
Error in matlab.system.SystemProp/parseInputs (line 908)
Error in matlab.system.SystemProp/sysObjSetProperties (line 298)
Error in vision.VideoFileReader (line 133)
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 cnn_train (line 157)
spmd
Error in cnn_mnist (line 55)
[net, info] = trainfn(net, imdb, getBatch(opts), ...
Error in cnn_mnist_experiments (line 3)
[net_bn, info_bn] = cnn_mnist(...
Caused by:
Error using ParameterServer/startWithMMap (line 170)
An UndefinedFunction error was thrown on the workers for 'vl_cudatool'. This may be because the
file containing 'vl_cudatool' is not accessible on the workers. Specify the required files for
this parallel pool using the command: addAttachedFiles(pool, ...). See the documentation for
parpool for more details.
Undefined function 'vl_cudatool' for input arguments of type 'single'.
Error using ParameterServer/startWithMMap (line 170)
An UndefinedFunction error was thrown on the workers for 'vl_cudatool'. This may be because the
file containing 'vl_cudatool' is not accessible on the workers. Specify the required files for
this parallel pool using the command: addAttachedFiles(pool, ...). See the documentation for
parpool for more details.
Undefined function 'vl_cudatool' for input arguments of type 'single'.
Apparently, the workers cannot get access to "vl_cudatool" file. What could be the issue here?
Undefined function 'vl_cudatool' for input arguments of type 'single'.
It means that your vl_cudatool function is not in your path
try
which vl_cudatool
I don't know what vl_cudatool is. Maybe you can try some earlier version of MatConvNet?
I tryed the runtests function example at http://de.mathworks.com/help/matlab/ref/runtests.html
and in matlab 2015b everthing works perfectly. But in matlab 2013b I get the following error
>> runtests
Error using runtests (line 41)
Not enough input arguments.
And if I explizietly one of the m-files
>> runtests('typeTest.m')
I get
Error using matlab.unittest.TestSuite.fromFile (line 94)
"C:\Users\u16h62\Documents\MATLAB\Example\typeTest.m" is not a valid test file.
Error in runtests>createSuite (line 60)
suite = TestSuite.fromFile(file);
Error in runtests>#(test)createSuite(test,parser.Results.Recursively) (line 41)
suites = cellfun(#(test)createSuite(test, parser.Results.Recursively), ...
Error in runtests (line 41)
suites = cellfun(#(test)createSuite(test, parser.Results.Recursively), ...
Can someone say me what I am doing wrong, please?
The runtests function changed between these releases. It looks like the 0-input syntax was first documented for this function in R2014b.
See the R2013b version of the runtests documentation to determine how the function works in that release:
http://www.mathworks.com/help/releases/R2013b/matlab/ref/runtests.html
Also, check the release notes to read about changes that were made to the function:
http://www.mathworks.com/help/matlab/release-notes.html
When I tried to compile Vedaldi's SIFT algorithm in MATLAB, I got the following error while compiling:
sift_compile
D:\PROGRA~1\MATLAB\R2010A~1\BIN\MEX.PL: Error: 'imsmooth.c' not found.
??? Error using ==> mex at 222
Unable to complete successfully.
Error in ==> sift_compile at 33
mex('imsmooth.c',opts{:}) ;
I did got mex to run on other cases, the compiler I used is VS2008. And the path of the imsmooth.c and other source code is also included in the MATLAB path. Could someone give me some hints how should I get it work?
C:\Program Files\MATLAB\R2011a\sift\
add in the pathnames helps!