Going from numpy to pytorch tensors and back is very simple.
Pytorch tensor to Numpy array: 
numpy_array = pytorch_tensor.numpy()

Numpy array to Pytorch tensor:
pytorch_tensor = torch.from_numpy(numpy_array)

More info here. 4