continuous_tokenizer icon indicating copy to clipboard operation
continuous_tokenizer copied to clipboard

GMM fitting on latent space

Open frozoul opened this issue 1 year ago • 7 comments

Hello, thank you for your great work on MAEtok!

I am interested in the experiments on GMM fitting different AE/VAE latent spaces. Could you please make the code for this part public? Thanks!

frozoul avatar Feb 13 '25 08:02 frozoul

Sure, I will see what I can update within this week. please stay tuned.

Hhhhhhao avatar Feb 13 '25 16:02 Hhhhhhao

Sure, I will see what I can update within this week. please stay tuned.

I am wondering the GMM fit data in latent (the shape of B, N, C after vae.sample()) or mean of latent (the shape of B, C)?

LinB203 avatar Feb 16 '25 10:02 LinB203

Sure, I will see what I can update within this week. please stay tuned.

I am wondering the GMM fit data in latent (the shape of B, N, C after vae.sample()) or mean of latent (the shape of B, C)?

We flattened the data to be (B, N * C) for GMM.

Hhhhhhao avatar Mar 02 '25 18:03 Hhhhhhao

Sure, I will see what I can update within this week. please stay tuned.

I am wondering the GMM fit data in latent (the shape of B, N, C after vae.sample()) or mean of latent (the shape of B, C)?

We flattened the data to be (B, N * C) for GMM.

Thank you for your answer, I have two following questions. Is it (B, N * C) or (B* N, C)? Is the latent normalized before GMM fitting?

liyz15 avatar Mar 03 '25 09:03 liyz15

Sure, I will see what I can update within this week. please stay tuned.

I am wondering the GMM fit data in latent (the shape of B, N, C after vae.sample()) or mean of latent (the shape of B, C)?

We flattened the data to be (B, N * C) for GMM.

Thank you for your answer, I have two following questions. Is it (B, N * C) or (B* N, C)? Is the latent normalized before GMM fitting?

Thank you for your question. Just like the classic GMM, we performed flattening, dimensionality reduction, and normalization on the data before fitting.

yujinhanml avatar Mar 06 '25 03:03 yujinhanml

Hi, I'm also interested! Could you perhaps share a piece of code? Or even pseudo-code?

robincourant avatar Mar 12 '25 13:03 robincourant

Updated GMM fitting code.

Hhhhhhao avatar May 29 '25 00:05 Hhhhhhao