textspotter icon indicating copy to clipboard operation
textspotter copied to clipboard

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

Open Bshowg opened this issue 7 years ago • 2 comments

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?

Bshowg avatar Dec 05 '18 17:12 Bshowg

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

tonghe90 avatar Jan 11 '19 07:01 tonghe90

@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.

Bshowg avatar Jan 14 '19 10:01 Bshowg