Hi, I got the above Error, I think that I know why, after some reading about this Error, correct me if I’m wrong:
       self.decoder.weight[:10,:] = torch.nn.Parameter(self.common_emb_weights,requires_grad = False)


The problem I still need this functionality, which means, I have a tensor with size x, and I want just a part of him to have consistent parameters, that won’t be changed.
I was reading that this kind of “messing around” may cause this error.
What can I do to get this Functionality with no error?
Thanks!!