Thank you for your help!
After I changed gpu_nms in ‘test_single_image.py’ to cpu_nms, I got the error 'tensor' object has no attribute 'reshape'. Maybe I should convert the pred_box to ndarray, but I add .eval () and other errors will appear. what should I do?
i have no idea which your code is. but i have succeeded to run nms on cpu, you may refer to https://github.com/qawsedrg/yolov3_yolov4_tensorflow, the full cpu_nms code is in the use_pb file without suffix "gpu"
Thank you for your help! After I changed gpu_nms in ‘test_single_image.py’ to cpu_nms, I got the error 'tensor' object has no attribute 'reshape'. Maybe I should convert the pred_box to ndarray, but I add .eval () and other errors will appear. what should I do?