Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

IndexError: list index out of range #2

Closed
Irastris opened this issue Jan 29, 2018 · 4 comments
Closed

IndexError: list index out of range #2

Irastris opened this issue Jan 29, 2018 · 4 comments

Comments

@Irastris
Copy link

Irastris commented Jan 29, 2018

(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>
@dfaker
Copy link
Owner

dfaker commented Jan 29, 2018

Looks like the training images aren't in the correct place, please look at the examples in the readme.

@dfaker dfaker self-assigned this Jan 29, 2018
@Irastris
Copy link
Author

Irastris commented Jan 29, 2018

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.

@dfaker
Copy link
Owner

dfaker commented Jan 29, 2018

I see that wasn't particularly clear, I'll close this off now.

@dfaker dfaker closed this as completed Jan 29, 2018
@Irastris
Copy link
Author

Alright, thank you for your assistance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants