jason9693 / MusicTransformer-tensorflow2.0

implementation of music transformer with tensorflow-2.0 (ICLR2019)
MIT License
353 stars 81 forks source link

Unexpected argument 'augumentation' #17

Closed thekevinscott closed 3 years ago

thekevinscott commented 4 years ago

In the preprocessing step, encode_midi is called as follows:

return encode_midi(path, augumentation=False)

However, the encode_midi function only accepts a single argument:

def encode_midi(file_path):

I propose removing the argument, or alternatively, updating encode_midi to accept the second argument.