Open sxjeru opened 1 year ago
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.
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.
measures_per_chunk
NotImplementedError: Dynamic chunking not implemented. Try halving measures_per_chunk.
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
.In addition, an error will be reported when
measures_per_chunk
> 8.NotImplementedError: Dynamic chunking not implemented. Try halving measures_per_chunk.