cripac-sjx / SEA-T2F

Multi-caption Text-to-Face Synthesis: Database and Algorithm
30 stars 4 forks source link

CelebA-HQ and Multi-modal CelebA-HQ data #2

Open liyuanfan opened 1 year ago

liyuanfan commented 1 year ago

What files are included in the CelebA-HQ and Multi-modal CelebA-HQ data sets? I have this problem: File "/root/autodl-tmp/SEA-T2F-main/code/datasets.py", line 236, in load_filenames item = file.split('/')[3].split('\n')[0] IndexError: list index out of range How can I solve this problem? Thank you!

urhit45 commented 1 year ago

Hey, you can change the split('/')[3] to [2] and that should work

liyuanfan commented 1 year ago

Thank you very much!