Closed spark123456789 closed 5 years ago
Sorry for the late reply. I just added the face script.
thank you for your reply. Another a simple question, how can I gather the the data related to your face.json file?
Dear Sir, I am learning your code. Is this required to be loaded? Can you share it? CU-Net-master/data/face_bbox.py def _compute_mean(self): meanstd_file = 'dataset/face.pth.tar'
Hi @1700117HLT,
I find that normalizing the input images may not be necessary. The results do not show much difference.
Hi @spark123456789,
The face data are from the 300W dataset.
Dear Sir, I am learning your code face alignment,but I run the cu-net-face-prev-version,the error about preds = Evaluation.final_preds(output, center, scale, [64, 64]), I find the Evaluation.py is def final_preds(output, center, scale, res, rot): How should I define rot or can you share the new code face alignment with me ?
Dear Sir, the error about File "cu-net-face-prev-version.py", line 124, in main visualizer, num_classes, flip_index) File "cu-net-face-prev-version.py", line 265, in validate preds = Evaluation.final_preds(output, center, scale, [64, 64]) TypeError: final_preds() takes exactly 5 arguments (4 given)
In the paper, rot is plus or minus 30 degrees,in Evaluation.final_preds, rot is 0? I try rot=numpy.zeros(12), but there are still many errors, then try to remove rot in final_preds(output, final_preds.py) Center, scale, res, rot), but still reported error, can you help me?
I have solved the previous question by consulting my classmates, thank you for your early reply.
You are welcome. @1700117HLT
Dear Sir, Thank you for your amazing code, I wonder whether these is a training script for the face landmark, Are you planning to upload this script? Thank you for your reply.