Open MichalTurski opened 1 year ago
I have the same problem. Afaik its related to the wrong tokenizers version, but didn't manage to fix it yet ;)
I reinstalled python 3.6.it worked for me
I reinstalled python 3.6.it worked for me
thanks a lot
pip install packaging==20.9 sloved this problem above
Describe the bug Model I am using (UniLM, MiniLM, LayoutLM ...): probably LayoutXLM, but I don't think it matters.
The problem arises when using:
Example script does not run:
I wanted to reproduce runs on XFUND relation extraction to see how training samples are created. However, example script doesn't work.
To Reproduce Steps to reproduce the behavior:
layoutlmft
to install it.python run_xfun_re.py
(I'm not sure if running without any arguments is correct, but there is a problem in imports, so arguments shouldn't matter).Expected behavior Example script does not fail and does train the model.