This repository was archived by the owner on Nov 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
notepredictor/notepredictor Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ dependencies:
77 - python=3.9
88 - pytorch>=1.10
99 - torchaudio
10+ - onnx
1011 - tensorboard
1112 - ipykernel
1213 - tensorboard
Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ def predict(self,
363363 """
364364 consume the most recent note and return a prediction for the next note.
365365
366- various constraints can be enforced on the next note.
366+ various constraints on the the next note can be requested .
367367
368368 Args:
369369 pitch: int. MIDI number of current note.
@@ -400,7 +400,7 @@ def predict(self,
400400 'pitch': int. predicted MIDI number of next note.
401401 'time': float. predicted time to next note.
402402 'velocity': float. unquantized predicted velocity of next note.
403- '*_params': tensor. distrubution parameters for visualization purposes.
403+ '*_params': tensor. distribution parameters for visualization purposes.
404404 """
405405 if (index_pitch is not None ) and (pitch_temp is not None ):
406406 print ("warning: `index pitch` overrides `pitch_temp`" )
You can’t perform that action at this time.
0 commit comments