deepgaze
deepgaze copied to clipboard
[ex_aflw_parser]
Dear mpatacchiola,
Thanks for your help!
https://github.com/mpatacchiola/deepgaze/blob/master/examples/ex_dnn_head_pose_estimation_training/ex_aflw_parser.py
In the above file:
#Separating the label from the dataset dataset = data[:,0:4096] label = data[:,4096:4099]
I think length of the image in 1D should be 64*64 = 4096? It's 1600 in the current commit and I got error when I try to run ex_dnn_head_pose_estimation_training.py :
Training set (19507, 1600) (19507, 3)
Validation set (2438, 1600) (2438, 3)
Test set (2439, 1600) (2439, 3)
Starting Graph creation...
Traceback (most recent call last):
File "ex_dnn_head_pose_estimation_training.py", line 182, in
I changed the 1600 to 4096 and was able to proceed with ex_dnn_head_pose_estimation_training.py.
Also I did a brief search here, but didn't find such issue. Hope this is not a duplicate issue.
BR, JimmyYS
You should resize the face pictures to 64 * 64 at first