a guest Aug 25th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand