Yolo4tiny nBatches = 0 while running demo #133
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After exporting weights using:
./darknet export yolo4tiny.cfg yolo4-tiny_best.weights layers
I used ./test_yolo4tiny
Then I wanted to test it with the demo and got this result
./demo yolo4tiny_fp32.rt test_video.mp4 y
And after some looking around I added a cout in the DetectionNN.h and it seems that nBatches = 0.
I really could some help fixing this issue.
Hi @Tacokeet
seems weird to me. I have tired the same exact as you and everything worked fine.
It's seems that n_batch is set to 0, but the deafult value is 1 in the code.
Have you modified any part of the code? Even by mistake? Can you check with
git status.my git status:
my modified yolo4tiny.cfg:
my modified coco.names:
If you haven't solved that yet, have you tried setting the batch size from command line?
@Tacokeet @mive93 : I am also facing the same problem. Did you fix it?