We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5749728 + a8035e7 commit 3ba8a45Copy full SHA for 3ba8a45
beginner_source/data_loading_tutorial.py
@@ -67,7 +67,8 @@
67
68
n = 65
69
img_name = landmarks_frame.iloc[n, 0]
70
-landmarks = landmarks_frame.iloc[n, 1:].as_matrix()
+landmarks = landmarks_frame.iloc[n, 1:]
71
+landmarks = np.asarray(landmarks)
72
landmarks = landmarks.astype('float').reshape(-1, 2)
73
74
print('Image name: {}'.format(img_name))
0 commit comments