-
Notifications
You must be signed in to change notification settings - Fork 46
Description
I use the code to test my own dataset(not wider face).
The parameters is listed as follow:
--dataset-root
/media/yons/7AD02E63D02E263B1/workplace/facedataset/owndata/Pics2/
/media/yons/7AD02E63D02E263B1/workplace/facedataset/owndata/list2.txt
--checkpoint
./checkpoint_50_best.pth
--split
test
It has some problem as follow:
raceback (most recent call last):
File "/media/yons/7AD02E63D02E263B1/workplace/tiny-faces-pytorch/Evaluate.py", line 116, in
main()
File "/media/yons/7AD02E63D02E263B1/workplace/tiny-faces-pytorch/Evaluate.py", line 112, in main
results_dir=args.results_dir, debug=args.debug)
File "/media/yons/7AD02E63D02E263B1/workplace/tiny-faces-pytorch/Evaluate.py", line 89, in run
nms_thresh, device=device)
File "/media/yons/7AD02E63D02E263B1/workplace/tiny-faces-pytorch/trainer.py", line 131, in get_detections
templates, prob_thresh, rf, scale)
File "/media/yons/7AD02E63D02E263B1/workplace/tiny-faces-pytorch/models/utils.py", line 36, in get_bboxes
prob_cls[:, :, invalid_template_id] = 0.0
IndexError: index 22 is out of bounds for axis 2 with size 22
Would you help solve this problem?