Hi all,
I’ve run my code and I got the Error AttributeError: 'torch.dtype' object has no attribute 'type'. Through this following picture, I think np.mean can’t run on a list of tensor and that cause of my crashed code.
Could anyone tell me how to tackle this error?

Screenshot from 2021-11-03 23-37-04836×384 52.3 KB