tonghe90 / textspotter

324 stars 112 forks source link

Can't read test_iou.pt but test_lstm.pt works #32

Open Bshowg opened 5 years ago

Bshowg commented 5 years ago

I am trying to run this net for mobile using caffe-mobile-lib.

I have added all your new layers to the lib and built it, but when it tries to read test_iou.pt it fails with the error:

A/caffe_jni: F1204 16:01:12.593006 26632 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /storage/emulated/0/textRec/textRec/test_iou.pt
    terminating.

But it works with test_lstm.

Any idea why or if there is something else I have to do?

tonghe90 commented 5 years ago

@Bshowg May be there exist some layers that don't exist in caffe mobile-lib

Bshowg commented 5 years ago

@tonghe90 yes I figured it out.

The problem is with the Python layers that can't be used on caffe-mobile-lib, so I was looking into traslating them into C++ layers but it is no easy task.