Thank you for the quick reply.

If you want to use a batch size of 1 and use 3 different images with 17 points each, you could make sure the output and target have the shape  [batch_size, 3, 17].

Sorry, but probably a silly question, but how would I make sure that the output is [batch_size, 3, 17]? What I mean to say is, how would I change self.kp_score = nn.Linear(66078720, 17, 3) to get the output that I require? I hope that that is what you meant with your suggestion.