Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question slicing #13

Open
Aubert-Antoine opened this issue Apr 25, 2023 · 0 comments
Open

Question slicing #13

Aubert-Antoine opened this issue Apr 25, 2023 · 0 comments
Assignees
Labels
question Further information is requested
Milestone

Comments

@Aubert-Antoine
Copy link
Owner

#@title ###### Run below to read all faces + store them in a pickle file (uncomment)
#@markdown NE MARCHE PAS ? Le slissing induit des erreurs
test = img_to_numpy()
errors = test[0]
labels_faces = test[1]

...
# Slice the labels_faces to get the data ===== NE MARCHE PAS ? Le slissing induit des erreurs
# labels = labels_faces[:,0]
# faces = labels_faces[:,1]
# print(faces.dtype)
# faces = np.array(faces.tolist(), dtype = float)
# print(faces.dtype)
# plt.imshow(faces[0])
@Aubert-Antoine Aubert-Antoine added the question Further information is requested label Apr 25, 2023
@Aubert-Antoine Aubert-Antoine added this to the Questions milestone Apr 25, 2023
@Aubert-Antoine Aubert-Antoine self-assigned this Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

1 participant