<<Operation expected a list with 60 elements but got a list with 64 elements>>

I ran into this error. I don’t understand why. Here are the code and the warning error.
Thank you in advance

[code removed - mentor]

InvalidArgumentError\u001b[0m: Operation expected a list with 60 elements but got a list with 64 elements.\n\t [[{{node gradients/TensorArrayUnstack/TensorListFromTensor_grad/TensorListStack}}]]\n\t [[SGD/gradients/PartitionedCall]] [Op:__inference_train_function_158173]\n\nFunction call stack:\ntrain_function → train_function → train_function\n"]}]}]

The course provided value for G.WINDOW_SIZE = 64.
Change this line as shown to make use of your custom setting.

# currently, this is 
train_set = windowed_dataset(series_train, window_size=64, batch_size=256, shuffle_buffer=1000)


# this should be changed to
train_set = windowed_dataset(series_train, window_size=G.WINDOW_SIZE, batch_size=G.BATCH_SIZE, shuffle_buffer=G.SHUFFLE_BUFFER_SIZE)