Skip to content

Commit 3cea11b

Browse files
Update README.md regarding the predict_and_save() including the path parameter. (#163)
* Update README.md The predict_and_save() in the README.md doesn't include the model path parameter. * Update README.md --------- Co-authored-by: Pierre Thary <[email protected]>
1 parent 96e15a7 commit 3cea11b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ predict_and_save(
156156
<sonify-midi>,
157157
<save-model-outputs>,
158158
<save-notes>,
159+
<model-path>
159160
)
160161
```
161162

@@ -170,6 +171,9 @@ where:
170171
- *bool* to control saving the raw model output as a NPZ file to the `<output-directory>`
171172
- `<save-notes>`
172173
- *bool* to control saving predicted note events as a CSV file `<output-directory>`
174+
- `<model-path>`
175+
- *str* or *pathlib.Path* local path from where to load the model, can eg: use the path obtained with `from basic_pitch import ICASSP_2022_MODEL_PATH`
176+
173177

174178

175179

0 commit comments

Comments
 (0)