HRNet-Facial-Landmark-Detection
HRNet-Facial-Landmark-Detection copied to clipboard
Some questions about inference function
after running wlfw dataset and models, i got confused....
File "tools/test.py", line 78, in main nme, predictions = function.inference(config, test_loader, model)
File 'lib/core/function.py ', line 194, in inference preds = decode_preds(score_map, meta['center'], meta['scale'], [64, 64])
File 'lib/core/evolution.py ', line 64, in decode_preds
coords = get_preds(output) # shape (8,98,2)
actually, thats the matrix number of the greatest value in 64*64 output matrix.
also, i think that number should be int.
i dont understand why u just let
coords[n][p] += diff.sign() * .25
and
coords += 0.5