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

unrecognized arguments: --melody_threshold #16

Open
sxjeru opened this issue Apr 20, 2023 · 0 comments
Open

unrecognized arguments: --melody_threshold #16

sxjeru opened this issue Apr 20, 2023 · 0 comments

Comments

@sxjeru
Copy link

sxjeru commented Apr 20, 2023

I found that the generated midi was missing some notes, so I hope to reduce the threshold, but it cannot run.
I can find these parameters in infer.py.

./sheetsage.sh ../music.mp3 --measures_per_chunk 4 --melody_threshold 0.4 --harmony_threshold 0.4
/bin/bash: /anaconda/envs/azureml_py38/lib/libtinfo.so.6: no version information available (required by /bin/bash)
Copying input file ../music.mp3 to container as ./output/input
Running Sheet Sage via Docker with args: /sheetsage/output/input --measures_per_chunk 4 --melody_threshold 0.4 --harmony_threshold 0.4
usage: infer.py [-h] [-s SEGMENT_START_HINT] [-e SEGMENT_END_HINT] [-t TITLE]
                [-a ARTIST] [-o OUTPUT_DIR] [-j]
                [--measures_per_chunk MEASURES_PER_CHUNK]
                [--segment_hints_are_downbeats] [--beats_per_measure {3,4}]
                [--beats_per_minute_hint BEATS_PER_MINUTE_HINT]
                [--skip_melody] [--skip_harmony] [--legacy_behavior]
                audio_path_or_url
infer.py: error: unrecognized arguments: --melody_threshold 0.4 --harmony_threshold 0.4

In addition, an error will be reported when measures_per_chunk > 8.

NotImplementedError: Dynamic chunking not implemented. Try halving measures_per_chunk.

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

No branches or pull requests

1 participant