unilm icon indicating copy to clipboard operation
unilm copied to clipboard

funsd_preprocess.py does not exist

Open elnazsn1988 opened this issue 6 years ago • 3 comments

Hi - Am trying to debug a few issues I am facing here, upon detailed examination it seems that this part of the readme does not exist anymore, i.e. I cannot find the 'scripts' folder anywhere inside layoutlm to find the funsd_preprocess.py:

First, we need to preprocess the JSON file into txt. You can run the preprocessing scripts funsd_preprocess.py in the scripts directory. For more options, please refer to the arguments.

elnazsn1988 avatar Aug 04 '20 02:08 elnazsn1988

image

elnazsn1988 avatar Aug 04 '20 02:08 elnazsn1988

Guess they renamed funsd_preprocess.py to preprocess.py and stored it here: https://github.com/microsoft/unilm/tree/master/layoutlm/examples/seq_labeling

I'm currently working with the code in preprocess.py

r000bin avatar Aug 04 '20 09:08 r000bin

@r000bin thanks for the info, to anyone else facing issue - I had previously forked old version, this version works for me: https://github.com/elnazsn1988/unilm/tree/master/layoutlm , however not validated full end-to end yet.

elnazsn1988 avatar Aug 04 '20 21:08 elnazsn1988