meta-learning-lstm-pytorch
meta-learning-lstm-pytorch copied to clipboard
pytorch implementation of Optimization as a Model for Few-shot Learning
grad = torch.cat([p.grad.data.view(-1) / args.batch_size for p in learner_w_grad.parameters()], 0) AttributeError: 'NoneType' object has no attribute 'data' Has anyone had this problem?
Freezing `cI` to prevent Adam's updates on this specific parameter.
Thank you for sharing the reimplementation and for the clean and organized code. There is an issue with the state of the meta learner `self.cI`. It is created as a...