FudanVI / FudanOCR

A toolbox of scene text super-resolution and recognition
357 stars 62 forks source link

How to convert my own dataset into lmdb #35

Open kanika02 opened 2 years ago

kanika02 commented 2 years ago

Can you provide the code for converting my own dataset to lmdb ? thank you in advance

kanika02 commented 2 years ago

The code of conversion given in this is confusing due to paths given) could you provide the generic code which I can use for my own dataset

YangLeiSX commented 2 years ago

see text-gestalt/dataset/create_lmdb.py ?

kanika02 commented 2 years ago

While converting my own dataset into lmdb I am getting the error : int() argument must be a string, a bytes-like object or a number, not 'nonetype' Please help me solve this error.

yeahQing commented 1 year ago

Hi, Maybe you can see my code in #57.