Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # splitting path of all images into male and female
  2. train_male_image = []
  3. train_female_image = []
  4. for each in train_image_name:
  5. if each.split('/')[7] in train_male_data['Filename'].values:
  6. train_male_image.append(each)
  7. else:
  8. train_female_image.append(each)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement