Making a custom data transform

Hi @QuantumAbyss . Is this data from the Kaggle G2Net Gravitational wave detection competition? I had made a custom transform for the CQT transform but I am also having the same problem i.e. the transform is slow. I am using nnAudio to do the transform which is quite fast than other methods but it’s still slow as it does everything on the cpu.

I can do the transform on GPU as well but I am not there yet.

I have similar post here .

Also, you can refer my notebook here. Here my transform is doing close to what you want i.e. getx --> cqt transform --> image. You may find some insight about how to integrate your pipeline into your transform.

In case you are able to find a way to speed up the transformation from npy file to cqt transform then do post here. I am also trying to achieve similar thing in terms of speed.