Loading Inception-v1 model with weights trained using Caffe

22 views
Skip to first unread message

Goutham Nekkalapu

unread,
Sep 12, 2017, 3:23:48 PM9/12/17
to vegnonveg
Hi everyone,

I am trying to load the Weights of the Caffe model to the Incepetion model, but was facing a few errors, one of them is below :

py4j.Py4JException: Method loadCaffeModel([class com.intel.analytics.bigdl.nn.Sequential, class java.lang.String]) does not exist

In addition to the above error, I also have the below questions :

1. The link that I am referring for caffe model's weights is :  https://github.com/BVLC/caffe/tree/master/models/bvlc_googlenet. Is this right one ? if not please suggest the correct one.

2. I am referring to the documentation at : https://bigdl-project.github.io/0.2.0/#ProgrammingGuide/caffe-support/ ; to load caffe model's weights. But facing an error when using the last parameter 'match_all=True' ( I have tried with matchAll = True as well ). Can you please confirm if the documentation is right ?

I am using BigDL - 0.2.0 and python. Please find the 'InceptionV1 model' notebook that I am using and detailed error logs as attachment.


regards,
goutham.
Inception_v1.ipynb
error_log_2.txt
error_log_1.txt

Dave Nielsen

unread,
Sep 13, 2017, 1:50:11 PM9/13/17
to vegnonveg
Hi Goutham,

I see that Jennie from Intel has answered your first question and is answering follow-up questions in the BigDL-User-Group. So let's continue the Q&A there.

Dave

Dave Nielsen
Technical Program Manager
BigDL - Deep Learning for Spark
Big Data Technologies, Developer Products Division, Intel Software

Organizer: SVDevOps, SVBigData, CloudCamp,  BigDataCamp
twitter davenielsen; linkedin dnielsen; fb: dcnielsen
hangout: dnielsen; skype: davenielsen; text: 415-531-6674 
Reply all
Reply to author
Forward
0 new messages