Load text data from file

Hi,

You can do the following. Replace file.csv with your file name.

from numpy import genfromtxt
my_data = genfromtxt('file.csv', delimiter=',')

You will get a numpy array(Nx3). There may be other ways in pytorch. This might help.

Thanks