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

chunk_convert.sh throws "Got unexpected extra argument" error #414

Open
Leon-Sander opened this issue Dec 5, 2024 · 0 comments · May be fixed by #415
Open

chunk_convert.sh throws "Got unexpected extra argument" error #414

Leon-Sander opened this issue Dec 5, 2024 · 0 comments · May be fixed by #415

Comments

@Leon-Sander
Copy link

Running the command for multiple devices and multiple files leads to an error:

NUM_DEVICES=2 NUM_WORKERS=15 marker_chunk_convert /tmp/marker_input /tmp/marker_output
Running convert.py on GPU 0
Usage: marker [OPTIONS] IN_FOLDER
Try 'marker --help' for help.

Error: Got unexpected extra argument (/tmp/marker_output)

Running without tells me that the output arg is necessary:

NUM_DEVICES=2 NUM_WORKERS=15 marker_chunk_convert /tmp/marker_input                   
usage: marker_chunk_convert [-h] in_folder out_folder
marker_chunk_convert: error: the following arguments are required: out_folder
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 a pull request may close this issue.

1 participant