Can anyone tell me how to get ground labels in Food Vision Project ? #516
Muditkumar123
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
def extract_labels(image, label):
return label # I used this method and the other method which was covered by Daniel in Scaling Up section
test_labels = test_data.map(extract_labels)
import numpy as np
test_labels = np.concatenate(list(test_labels.as_numpy_iterator()))
Beta Was this translation helpful? Give feedback.
All reactions