Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Errors During Fine-Tuning and Inference in Surya OCR: Missing Input Images & Undefined SPECIAL_TOKENS #465

Copy link
Copy link
@Atharv-Bhujade

Description

@Atharv-Bhujade
Issue body actions

I need some assistance with an issue I'm facing. While fine-tuning Surya OCR, I encounter two recurring errors:

During the fine-tuning process, I get the following error:
AssertionError: Image tokens were present in the input but no input images were provided.

If the training does complete successfully, I encounter this error during inference of the checkpoint:
NameError: name 'SPECIAL_TOKENS' is not defined.

Any guidance would be greatly appreciated!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.