Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command not found error (while trying align the LFW dataset) #1226

Open
thoongee opened this issue Jun 13, 2022 · 0 comments
Open

command not found error (while trying align the LFW dataset) #1226

thoongee opened this issue Jun 13, 2022 · 0 comments

Comments

@thoongee
Copy link

My computer is Ubuntu Linux.
I wrote below command to align the LFW dataset for validate on LFW.

for N in {1..4}; do

python /home/islab/facenet/src/align/align_dataset_mtcnn.py
/home/islab/facenet/datasets/lfw/raw
/home/islab/facenet/datasets/lfw/lfw_mtcnnpy_160
--image_size 160
--margin 32
--random_order
--gpu_memory_fraction 0.25
done

But there are some issues like below.

usage: align_dataset_mtcnn.py [-h] [--image_size IMAGE_SIZE] [--margin MARGIN]
[--random_order]
[--gpu_memory_fraction GPU_MEMORY_FRACTION]
[--detect_multiple_faces DETECT_MULTIPLE_FACES]
input_dir output_dir
align_dataset_mtcnn.py: error: the following arguments are required: input_dir, output_dir
bash: /home/islab/facenet/datasets/lfw/raw: Is a directory
bash: /home/islab/facenet/datasets/lfw/lfw_mtcnnpy_160: Is a directory
--image_size: command not found
--margin: command not found
--random_order: command not found
--gpu_memory_fraction: command not found

I checked that there are raw folder and lfw_mtcnpy_160 folder.
How can I align the LFW dataset correctly?

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

No branches or pull requests

1 participant