Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于关键信息抽取任务KIE,没有在项目中找到相关信息 #139

Open
kkiskkk opened this issue May 11, 2024 · 1 comment
Open

Comments

@kkiskkk
Copy link

kkiskkk commented May 11, 2024

请问可以指出具体路径吗?
对于example.py是否有推理脚本?
python example.py general_text_reading <document_file_path> <output_file_path> # task: general text reading (dump supports both image and JSON file)
python example.py table_parsing <document_file_path> <output_file_path> # task: table parsing (dump supports both image and JSON file)
python example.py formula_recognition <document_file_path> <output_file_path> # task: formula recognition (dump supports only JSON file)
python example.py document_structurization <document_file_path> <output_file_path> # task: document structurization (dump supports both image and JSON file)
python example.py whole_pdf_conversion <document_file_path> <output_file_path> # task: whole PDF conversion, i.e., converting all pages of a PDF file into an organized JSON structure (dump supports only JSON file)

@kkiskkk
Copy link
Author

kkiskkk commented May 11, 2024

也没有找到pretrianed model文件夹在哪里
Training
Download the swin_base_patch4_window7_224_22k.pth from Swin-Transformer and put it in pretrained_weights folder.
Refer to train.sh for pretraining and finetuning.

如果但张图该如何测试?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant