Open azuredsky opened 1 year ago
Hi, the argument after 'meanface.txt' indicates the number of neighbors for Neighbor Regression Module (NRM). Since 300W has 68 points in total, it thus has at most 67 neighbors. Please refer to the paper if you don't know NRM.
Hi, when I run meanfaceindices, , , = get_meanface(os.path.join('../data', 'data_300W', 'meanface.txt'), 68) it reported indexError:
File "/work/landmark/PIPNet/lib/data_utils.py", line 170, in
meanfaceindices, , , = get_meanface(os.path.join('../data', 'data_300W', 'meanface.txt'), 68)
File "/work/landmark/PIPNet/lib/functions.py", line 53, in get_meanface
meanface_indices_reversed[meanface_indices[i][j]][0].append(i)
IndexError: index 67 is out of bounds for axis 0 with size 67