Last active
August 13, 2019 20:00
-
-
Save techwithshadab/30535cd006044b41c32f6aea7fbd5cca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # splitting path of all images into male and female | |
| train_male_image = [] | |
| train_female_image = [] | |
| for each in train_image_name: | |
| if each.split('/')[7] in train_male_data['Filename'].values: | |
| train_male_image.append(each) | |
| else: | |
| train_female_image.append(each) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment