1029 add octuple
This commit is contained in:
@ -22,6 +22,8 @@ class Augmentor:
|
||||
self.chord_idx = self.feature_list.index('chord')
|
||||
|
||||
def _get_shift(self, segment):
|
||||
if self.encoding_scheme == 'oct':
|
||||
return 0
|
||||
# the pitch vocab has ignore token in 0 index
|
||||
if self.encoding_scheme == 'cp' or self.encoding_scheme == 'nb':
|
||||
pitch_mask = segment != 0
|
||||
|
||||
Reference in New Issue
Block a user