Hello @Michaelvll, @arminarj
I am using the DeepCCA objective in a variational autoencoder setting.
I use
U, D, Vh = torch.linalg.svd(Tval) so i can getthe U and Vh together with SigmaHat11RootInv and SigmaHat22RootInv to
get my transformation matrices w1 and w2, similar as in the file linear_cca.py but i used pytorch for the implementation.
When i apply the transformation to my original space, the model has trouble learning. Without the transformation, there is no problem. I suspect unstable gradient as stated here under the warning tab because of the singular values.
https://pytorch.org/docs/stable/generated/torch.linalg.svd.html#torch.linalg.svd.
Does anyone have an idea how to solve this problem?
Thanks you.
Hello @Michaelvll, @arminarj
I am using the DeepCCA objective in a variational autoencoder setting.
I use
U, D, Vh = torch.linalg.svd(Tval) so i can getthe U and Vh together with SigmaHat11RootInv and SigmaHat22RootInv to
get my transformation matrices w1 and w2, similar as in the file linear_cca.py but i used pytorch for the implementation.
When i apply the transformation to my original space, the model has trouble learning. Without the transformation, there is no problem. I suspect unstable gradient as stated here under the warning tab because of the singular values.
https://pytorch.org/docs/stable/generated/torch.linalg.svd.html#torch.linalg.svd.
Does anyone have an idea how to solve this problem?
Thanks you.