Open Hunterwolf88 opened 6 years ago
Check the correct image path However, I doubt that you have a mistake in configuring your images Because he really can not see your photos
Anyhow the shape of the pictures should be this way
/dataset/data1/
├── Colin Powell
│ ├── Colin Powell_0006.png
│ ├── Colin Powell_0007.png
│ ├── Colin Powell_0008.png
│ ├── Colin Powell_0009.png
│ └── Colin Powell_0010.png
├── Arnold_Schwarzenegger
│ ├── Arnold_Schwarzenegger_0006.png
│ ├── Arnold_Schwarzenegger_0007.png
│ ├── Arnold_Schwarzenegger_0008.png
│ ├── Arnold_Schwarzenegger_0009.png
│ └── Arnold_Schwarzenegger_0010.png
├── Lleyton Hewitt:
│ ├── Lleyton Hewitt:_0006.png
│ ├── Lleyton Hewitt:_0007.png
...
...etc
Also see the details of the start (align) images on here Validate-on-LFW
In the Data folder, there is a folder with the name of each person Inside each person's folder are a set of photos of their own
The image format is important and may be different for you I do not know but I used two types of extensions and they work [.png, jpg]
But I do not think the formula has an effect because it searches for all files in all tracks This is according to this function hereget_dataset But check your files well Thanks
@mohammed-Emad is right, I had the same issue and putting all my images in a class directory fixed it.
If your dataset is not shaped like this you can modify it with:
find . -name "*.png" -exec sh -c 'mkdir "${1%.*}" ; mv "$1" "${1%.*}" ' _ {} \;
source
It basically put each image in a file named like it.
Worked fine for me!
Yes a very good solution is to find images and place them in one place For clarification only Please know how to stretch your photos accurately I mean here b [ .png] Which can be replaced by any extension [ .jpg] [* .jpeg] and etc
thank you
fatal: not a git repository (or any of the parent directories): .git
Not a git repository
To compare two paths outside a working tree:
usage: git diff [--no-index]
@mohammed-Emad What might be the problem in this?
Hi First, your photos already exist This is obvious because the following message has not been executed
except (IOError, ValueError, IndexError) as e:
errorMessage = '{}: {}'.format(image_path, e)
print(errorMessage)
It means the tracks are completely intact. And indeed it is see about (47) images
But he has a problem finding the face via (mtcnn) Either the images have no faces or the images have already been acted upon before I mean the pictures are actually faces that have already been cut
Note Data must contain images of faces that have not been completely cut, which means a bit far from the level of the edges of the face Or that the images contain more than one face while you are using the default option that does not depend on the processing of multiple faces.
To check it out please look at your photos or You can share a photo if possible
I have a folder named "data1" with some pictures in it, When I run
I get
data1-aligned folder is created, bounding_boxes_43723.txt and revision_info.txt are created inside that folder, the first is empty, the second one contains this text:
as said, no image is aligned and/or put into the created folder.