Closed winstonww closed 3 years ago
This PR:
_resample
AudioCLIPEncoder
Document.get_attributes
librosa.load
str
PosixPath
Thanks.
@tadejsv It is necessary. Accuracy suffers when AudioCLIPEncoder encodes audio with sample rate different from target sample rate.
This PR:
_resample
step so thatAudioCLIPEncoder
encodes the audio at the correct sample rateDocument.get_attributes
method that cause some tests here to breaklibrosa.load
expectsstr
notPosixPath
in some testsThanks.