SynergyNet icon indicating copy to clipboard operation
SynergyNet copied to clipboard

Nms variable dtype mismatch

Open TFisichella opened this issue 3 years ago • 1 comments

Hi,

I installed the project without issues, I just had to comment line 49 in FaceBoxes/utils/build.py for Cython to compile but when I run python.exe singleImage.py -f demo\0.png

I get this issue :

Process the image: demo\0.png Traceback (most recent call last): File "...\SynergyNet\singleImage.py", line 129, in main(args) File "...\SynergyNet\singleImage.py", line 60, in main rects = face_boxes(img_ori) File "...\SynergyNet\FaceBoxes\FaceBoxes.py", line 120, in call keep = nms(dets, nms_threshold) File "...\SynergyNet\FaceBoxes\utils\nms_wrapper.py", line 18, in nms return cpu_nms(dets, thresh) File "nms\cpu_nms.pyx", line 25, in nms.cpu_nms.cpu_nms ValueError: Buffer dtype mismatch, expected 'int_t' but got 'long long'

Do you know by any chance, how I can fix this ?

Thank you very much

TFisichella avatar Apr 20 '22 13:04 TFisichella

@TFisichella I found a related issue here. Hope it could help.

Jiooum102 avatar Feb 22 '23 09:02 Jiooum102