Hi, as error message suggest the first argument to _, predicted = torch.max(output, 1) appeared to be tuple, but it should be tensor. Printing the output also shows it is a tuple (tensor([[[6.6 given the preceding (. Your model gives the tuple as an output. You can check with type(output) and len(output). You need to figure out what element of the tuple you need for the program if the length of output tuple is greater than 1, or just index it like output[0] if there is only one element in the tuple.