Which line does give you this error?
As I understand it should be in
data = data.to(device)
label = label.to(device)

And this error means data and label already are tensors in GPU and you cloning them again into GPU using .to() method.