TypeError: new(): data must be a sequence (got numpy.float64)
I  do not know what to do with this problem.  I am running a model training.  The following part is what I got
 mean_train = torch.Tensor(np.mean(train_vertices, axis=0))
 TypeError: new(): data must be a sequence (got numpy.float64)

My code is:
mean_train = torch.Tensor(np.mean(train_vertices, axis=0))
std_train = torch.Tensor(np.std(train_vertices, axis=0))


You have a numpy array and you want to create a pytorch tensor from it. You can use torch.from_numpy to achieve this. Note that torch.from_numpy expects an np.ndarray not a np.float64 so you'll need to figure out your shapes.
However, if you don't need numpy, you can just use pytorch from the jump. Pytorch will likely have the functions you needed from numpy anyway.
