Skip to content

A lot of memory used on newspaper pages? #110

Open

Description

@mikegerber

In OCR-D/quiver-benchmarks#22, @stweil mentions 118 GB being used for newspaper pages.

  • Reproduce
  • Can we test for this somehow

Activity

  1. self-assigned this
    on Feb 22, 2024
  2. mikegerber commented on Feb 22, 2024

    @mikegerber
    ContributorAuthor

    Might have overlooked this because a. our servers have a lot of memory and b. I didn't process a lot of newspapers.

    1. I asked @stweil for the input data. Need to check if I have some newspaper pages readily segmented.

    2. Options used seem to be -I OCR-D-SEG-LINE-RESEG-DEWARP -O OCR-D-OCR -P checkpoint_dir qurator-gt4histocr-1.0"

  3. changed the title [-]A lot of memory used on newspaper pages[/-] [+]A lot of memory used on newspaper pages?[/+] on Feb 27, 2024
  4. mikegerber commented on Feb 28, 2024

    @mikegerber
    ContributorAuthor

    I don't have the data for the issue mentioned in OCR-D/quiver-benchmarks#22, tried to produce something similar but failed due to an unrelated issue.

    → Trying with some other data supplied by @cneud

  5. mikegerber commented on Feb 28, 2024

    @mikegerber
    ContributorAuthor

    Yeah, ran into another unrelated issue first: OCR-D/core#1179

  6. mikegerber commented on Feb 28, 2024

    @mikegerber
    ContributorAuthor

    The page I used only had 365 lines, didn't see anything more than 1.8 GB RSS ("not great, not terrible").

    There is something else wrong, though, it seems to use the raw (RGB) images for some lines, this does not make sense. But the XML may be not be 100% as I imported it etc. pp.

  7. mikegerber commented on Mar 5, 2024

    @mikegerber
    ContributorAuthor

    There is something else wrong, though, it seems to use the raw (RGB) images for some lines, this does not make sense. But the XML may be not be 100% as I imported it etc. pp.

    The workspace also showed signs of OCR-D/core#1195, so I'll try again first, with METS caching disabled.

  8. mikegerber commented on Mar 5, 2024

    @mikegerber
    ContributorAuthor

    I've redone the segmentation, no "raw image" problem anymore. Probably just because I couldn't figure out how to fix up the XML so i works properly with the AlternativeImage logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions