What is permuter and why we need permuter #24
Replies: 1 comment 2 replies
-
Hi, thanks, I am glad you like it. The purpose of the Permuter is to ensure that the transformer code prediction order is done correctly on spectrograms why we need the ColumnMajor(AbstractPermuter) It does a customized-order
However, for spectrograms, we want to sample codes in column-major order:
what is the advantage of applying this function is that possible to not use it? can only process the fixed-length mel spectrogram SpecVQGAN/specvqgan/modules/transformer/permuter.py Lines 34 to 44 in 5bc54f3 If it throws you an error, it means you give it a sequence which cannot be permuted into a 2D matrix. You may check your L and you will notice that it is not a multiple of the number of elements in a row.
|
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for your great work. I have a question about the permuter (SpecVQGAN/specvqgan/modules/transformer/permuter.py), why we need the ColumnMajor(AbstractPermuter), what is the advantage of applying this function? is that possible to not use it? Since I think the ColumnMajor(AbstractPermuter) can only process the fixed-length mel spectrogram. If there is a longer mel spectrogram of a shorter mel spectrogram, it will raise an error (asset failure for the first branch L>Lidx or the index is out of bound for the else branch)
Beta Was this translation helpful? Give feedback.
All reactions