CSV文件:faceDeepid_last.csv
import numpy
my_matrix = numpy.loadtxt(open("faceDeepid_last.csv","rb"),delimiter=",", skiprows=0)
>>> print(my_matrix)
[[ -74.9792 99.6281 -141.025 ... -30.0148 -171.729 40.4832]
[ -74.6689 100.307 -141.393 ... -30.1517 -171.848 42.3979]
[-114.947 97.1041 -64.5033 ... -84.6877 -142.578 -13.6338]
...
[-165.944 121.49 -41.2902 ... -86.1555 -216.289 61.0566]
[-222.121 43.5859 -39.9055 ... -128.52 -209.524 104.203 ]
[-214.948 23.5106 -76.2637 ... -140.604 -253.586 95.4976]]
print(my_matrix.shape)
(2062, 160)