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.
1 parent 48e5ccc commit 0d9c7deCopy full SHA for 0d9c7de
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