Skip to content

dewarping: gpu_id does not default to -1 in any case #87

Description

@mweidling

Using ocrd/all:maximum I get the following error when executing ocrd-anybaseocr-dewarp -I OCR-D-DESKEW-PAGE -O OCR-D-DEWARP-PAGE:

RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx

On the other hand, explicitly passing -gpu_id=-1 yields

model [Pix2PixHDModel] was created

I would have expected from the docs that -gpu_id=-1 is the default and implicitly passed, while what I see implies the contrary.

Metadata

Metadata

Assignees

No one assigned

    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