필터 지우기
필터 지우기

Compile matcaffe in Ubuntu 18.04

조회 수: 3 (최근 30일)
Agapi Dav
Agapi Dav 2018년 9월 19일
댓글: Agapi Dav 2019년 2월 18일
Dear all,
I need to run an .m file that uses caffe. In Ubuntu 18.04 the installation of caffe is as simple as
sudo apt install caffe-cpu.
How do I compile for Matlab afterwards?? If I run in Matlab
caffe.reset_all();
I get an error “Undefined variable "caffe" or class "caffe.reset_all".”
which caffe
in terminal gives me “/usr/bin/caffe”.
In Python I had no problem to import caffe.
I cannot imagine how everyone has figured it out and no one has problems except from this guy here: https://stackoverflow.com/questions/47671854/how-to-install-matcaffe-and-pycaffe-on-ubuntu-17
I am using Matlab R2014b, because the official site of caffe mentions that it supports matcaffe interface.
I would really need your help. Thank you in advance!

답변 (1개)

Mina Boazak
Mina Boazak 2019년 2월 18일
Have you solved this issue. Running into similar problem.
  댓글 수: 1
Agapi Dav
Agapi Dav 2019년 2월 18일
I am not 100% sure, but I think the problem was that matcaffe is not included in the precompiled caffe package. Only the pycaffe.
So I afterwards I was trying to do it the hard way.
Good luck!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by