df
df copied to clipboard
IndexError: list index out of range
(dfaker) D:\Library\Desktop\DFaker>python train.py
running
Traceback (most recent call last):
File "train.py", line 25, in <module>
images_A,landmarks_A = load_images( images_A[:minImages] )
File "D:\Library\Desktop\DFaker\utils.py", line 14, in load_images_masked
basePath = os.path.split(image_paths[0])[0]
IndexError: list index out of range
(dfaker) D:\Library\Desktop\DFaker>
Looks like the training images aren't in the correct place, please look at the examples in the readme.
Ah, I see. So the aligned images are not meant to remain in the aligned subdirectory. I was confused because alignments.json lists the images as being within aligned so I thought moving them would cause other errors.
I see that wasn't particularly clear, I'll close this off now.
Alright, thank you for your assistance.