facebookresearch / audiocraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
MIT License
20.71k stars 2.11k forks source link

refactor: property overrides in EncodecModel #322

Closed 0xlws closed 11 months ago

0xlws commented 11 months ago

this pull request redefines abstract properties frame_rate, sample_rate, and channels in EncodecModel which are inherited from ABC CompressionModel

class vars -> instance vars

JadeCopet commented 11 months ago

Thanks but we'd rather not change this part.