You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe
Model I am using (UniLM, MiniLM, LayoutLM ...):LayoutLM
When i using the code:
python run_seq_labeling.py --data_dir data
--model_type layoutlm
--model_name_or_path path/to/pretrained/model/directory
--do_lower_case
--max_seq_length 512
--do_train
--num_train_epochs 100.0
--logging_steps 10
--save_steps -1
--output_dir path/to/output/directory
--labels data/labels.txt
--per_gpu_train_batch_size 16
--per_gpu_eval_batch_size 16
--fp16
there is a problem :
File "run_seq_labeling.py", line 52, in
from layoutlm import FunsdDataset, LayoutlmConfig, LayoutlmForTokenClassification
ImportError: cannot import name 'LayoutlmConfig'
How to resolve it?
The text was updated successfully, but these errors were encountered:
Describe
Model I am using (UniLM, MiniLM, LayoutLM ...):LayoutLM
When i using the code:
python run_seq_labeling.py --data_dir data
--model_type layoutlm
--model_name_or_path path/to/pretrained/model/directory
--do_lower_case
--max_seq_length 512
--do_train
--num_train_epochs 100.0
--logging_steps 10
--save_steps -1
--output_dir path/to/output/directory
--labels data/labels.txt
--per_gpu_train_batch_size 16
--per_gpu_eval_batch_size 16
--fp16
there is a problem :
File "run_seq_labeling.py", line 52, in
from layoutlm import FunsdDataset, LayoutlmConfig, LayoutlmForTokenClassification
ImportError: cannot import name 'LayoutlmConfig'
How to resolve it?
The text was updated successfully, but these errors were encountered: