You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From tucker_decomposition_conv_layer(layer, target_ratio_):
The line : left, right = 0, len(S) - 1 causes an error if it actually reaches 0. If it does reach 0, then the rank is 0 and when it attempts to create a tensor with shape 0 it fails. To prevent this, the line should be left, right = 1, len(S) - 1
The text was updated successfully, but these errors were encountered:
From tucker_decomposition_conv_layer(layer, target_ratio_):
The line : left, right = 0, len(S) - 1 causes an error if it actually reaches 0. If it does reach 0, then the rank is 0 and when it attempts to create a tensor with shape 0 it fails. To prevent this, the line should be left, right = 1, len(S) - 1
I think it makes sense. Yes, the threshold in SVT is 'strictly larger than' so both left and right cannot be 0. Thank you for pointing out.
From tucker_decomposition_conv_layer(layer, target_ratio_):
The line : left, right = 0, len(S) - 1 causes an error if it actually reaches 0. If it does reach 0, then the rank is 0 and when it attempts to create a tensor with shape 0 it fails. To prevent this, the line should be left, right = 1, len(S) - 1
The text was updated successfully, but these errors were encountered: