Caffe: Running MATLAB : Error Message - Undefined variable "caffe" or class "caffe.reset_all"

Created on 29 Aug 2016  路  1Comment  路  Source: BVLC/caffe

Error Message - Undefined variable "caffe" or class "caffe.reset_all".
System - UBUNTU 14.04, with matlab R2014a academic version, already did "make matcaffe', tried once again and it says, "nothing to be done for 'matcaffe'".

So, assuming that matcaffe is properly installed, i am running a .m file whose first line goes like this,
caffe.reset_all();

and its displays the above message.Could anyone please guide me?

Most helpful comment

I have solved this problem.Here is my solution:

in After successful building and testing, add this package to Matlab search PATH by starting matlab from caffe root folder and running the following commands in Matlab command window.

addpath ./matlab

You can save your Matlab search PATH by running

savepath

so that you don鈥檛 have to run the command above again every time you use MatCaffe.

>All comments

I have solved this problem.Here is my solution:

in After successful building and testing, add this package to Matlab search PATH by starting matlab from caffe root folder and running the following commands in Matlab command window.

addpath ./matlab

You can save your Matlab search PATH by running

savepath

so that you don鈥檛 have to run the command above again every time you use MatCaffe.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kelvinxu picture kelvinxu  路  3Comments

OpenHero picture OpenHero  路  3Comments

inferrna picture inferrna  路  3Comments

FreakTheMighty picture FreakTheMighty  路  3Comments

LarsHH picture LarsHH  路  3Comments