-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
can not align facescrub #9
Comments
more information, I successfully run align_megaface.py but cannot run align_facescrub.py. |
2018-01-24 16:04:26.818465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0 |
Hi delveintodetail, plz update the repo and try again. |
I have put facescrub_actors.xt, facescrub_actresses.txt and facescrub_upcropped_feature_list.json in the 'input dir'. I upgrade the code, still the same problem... |
Check it again now. |
OpenCV Error: Unspecified error (could not find a writer for the specified extension) in imwrite_, file /opt/conda/conda-bld/opencv_1491943414359/work/opencv-3.1.0/modules/imgcodecs/src/loadsave.cpp, line 459 |
You need to use uncropped images to align. |
I still cannot obtain good detection results with your code for uncropped images (align_facescrub.py). if warped is None and fimage.bbox is not None: but for the uncrossed images, there are no landmark and bbox, can you pls show your detected code? |
bbox and lardmark are both none, then in your code, so although we input the uncropped images, the code in align_facescrub.py will not use face_detection.face_detection(). I am confused how you do this??? |
can you pls show your detected face images??? |
I remember facescrub has its own defined bounding-box. You can parse it and add them in face_image.py. Recently we just use another piece of mtcnn code to align the facescrub images. To make our result reproducible, we may put the aligned facescrub images in our repo soon. |
@delveintodetail I just fixed the issue of align_facescrub.py, plz try it again. |
and the output file name follows the template of aligned facescrub set(firstname_lastname.png) |
megafaces/Face_scrub/facescrub/Harry Connick Jr./Harry Connick Jr._22911 |
file name is Harry Connick Jr._22911.jpg on my disk, try to fix it by yourself. |
python align_facescrub.py --input-dir ~/face/megaface/facescrub/ --output-dir ./facescrub_align
Martin Henderson/Martin Henderson_40499
Rebecca Budig/Rebecca Budig_10788
Pamela Anderson/Pamela Anderson_2367
valid keys 3530
Creating networks and loading parameters
AttributeError: 'EasyDict' object has no attribute 'landmark'
The text was updated successfully, but these errors were encountered: