sh1r0 / caffe-android-demo

An android caffe demo app exploiting caffe pre-trained ImageNet model for image classification
https://github.com/sh1r0/caffe-android-lib
MIT License
255 stars 164 forks source link

Demo stops #6

Closed NRmf closed 9 years ago

NRmf commented 9 years ago

The app runs on the device (Nexus 6), but when I select an image or take a photo I see the (Predicting ..) dialog, but then the app exits and I get a (Unfortunately, Caffe-Android-Demo has stopped).

Any help on what's going wrong?

NRmf commented 9 years ago

Figured out I had an error in pushing the files to the device! Works well now.

Thanks

mongoose54 commented 9 years ago

@NRmf How did you push the files to your device? What commands? I am running into the same problem. Thanks!

nmfelemban commented 9 years ago

@mongoose54 Following the instruction on this page: https://github.com/sh1r0/caffe-android-lib#usage

./get_model.py adb shell mkdir -p /sdcard/caffe_mobile/ adb push caffe-mobile/jni/caffe/models/bvlc_reference_caffenet/ /sdcard/caffe_mobile/bvlc_reference_caffenet/