-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I create a data source for a caffe model from java? #196
Comments
If I write I get the following error: |
I've added the API that contains |
Thanks! I will try and let you know |
Included in version 1.2. Enjoy! |
I am trying to run training a caffe model from java. I need to generate a lmdb database on the fly. There is some python code http://deepdish.io/2015/04/28/creating-lmdb-in-python/ which can do it, but in java I can not do the same since Datum class does not have method "SerializeToString()". Another approach I tried is using "MemoryData" data layer, and feed training data directly to the model:
Prototxt of the model:
but at line
intPoiter.put(new Integer(0));
I get an error "Exception in thread "main" java.lang.NullPointerException: This pointer address is NULL." Could you please suggest something.
The text was updated successfully, but these errors were encountered: