SonyCSLParis / pesto

Self-supervised learning for fast pitch estimation
GNU Lesser General Public License v3.0
168 stars 15 forks source link

Persist CQT device #19

Closed ben-hayes closed 8 months ago

ben-hayes commented 8 months ago

Closes #17

Opted to remove the device parameter from DataProcessor constructor and let device management take place through nn.Module. Sampling rate can now be passed in constructor, and an initial set of CQT kernels are computed. These are updated, with device persisting, whenever sampling rate is changed.