ppanopticon / east-crnn

An end-to-end scene text detection demo based on EAST and CRNN.
GNU General Public License v3.0
26 stars 5 forks source link

Pretrained weight restore error #2

Open alexng88 opened 5 years ago

alexng88 commented 5 years ago

Hello, Nice works! However, when I tried the work, it can only detect text but when calling get_crnn, It keeps saying weight restore error

tensorflow.python.framework.errors_impl.NotFoundError: Key shadow/BatchNorm/beta not found in checkpoint [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

I have saved the pre-trained weight already and test it using original crnn and sure it works.

please help

aarshpatel commented 5 years ago

Yes, i am getting the same thing. How do i Fix this?