switchablenorms / CelebAMask-HQ

A large-scale face dataset for face parsing, recognition, generation and editing.
2.04k stars 343 forks source link

Update g_partition.py #77

Open Lamply opened 3 years ago

Lamply commented 3 years ago

bug fix

ucalyptus2 commented 2 years ago

@Lamply @nisargshah1999 the 3 txt files are still empty even after running g_partition from @Lamply's fix.

image

duguyue100 commented 1 year ago

@Lamply @nisargshah1999 the 3 txt files are still empty even after running g_partition from @Lamply's fix.

image

Even the original g_partition.py forget to write contents in the text files. But given you have all the train, val, and test folders, it's easy to populate these lists by walking through the folder.