Skip to content

Conversation

@stweil
Copy link

@stweil stweil commented Jun 8, 2022

Signed-off-by: Stefan Weil sw@weilnetz.de

parser.add_argument('--output-alto-path', help='')
parser.add_argument('--output-transcriptions-file-path', help='')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
Copy link
Author

@stweil stweil Jun 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to replace the argument by --skip-missing-xml, too, but that might break existing documentation or applications and needs a fix for line 301, too. There is already an argument --skip-processed, so fixing the one here would also make the arguments more consistent.

parser.add_argument('--output-alto-path', help='')
parser.add_argument('--output-transcriptions-file-path', help='')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
parser.add_argument('--skip-missing-xml', action='store_true', help='Skip images which have missing xml.')

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add this change to the pull request?

parser.add_argument('--skipp-missing-xml', action='store_true', help='Skipp images which have missing xml.')
parser.add_argument('--skipp-missing-xml', action='store_true', help='Skip images which have missing xml.')
parser.add_argument('--set-gpu', action='store_true', help='Sets visible CUDA device to first unused GPU.')
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other uses cases).')
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other uses cases).')
parser.add_argument('--process-count', type=int, default=1, help='Number of parallel processes (this works mostly only for line cropping and it probably fails and crashes for most other use cases).')

@stweil
Copy link
Author

stweil commented Sep 17, 2022

There was a new typo in README, so I pushed another commit.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil
Copy link
Author

stweil commented Oct 22, 2022

Added another fix, rebased and fixed merge conflicts now. Please consider merging this pull request.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
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

Successfully merging this pull request may close these issues.

1 participant