Closed Seioch closed 3 years ago
Hi,@Seioch.Did you solve this problem?I think I also encountered this problem.
Hi @Seioch,
could you explain better? It was working on darknet and there you could see the boxes? Do you use the correct config file and names file? Have you tried using the demo?
Hi @mive93
I successfully trained a model using darknet, and verified that it works using darknet's test utility. Then I exported the weights using the darknet export utility on the README, and then optimized it with tkdnn using the code I put in my original post.
I have also tried using the default demo to do the optimization, however no difference was made.
I see. Does the creation of the rt file work properly? Do you get all OKs?
Yes, all OKs are printed when creating RT files with either FP16 or FP32
And, sorry if I ask again, but do you use the correct config file and names file?
Could be an issue with exporting weights from darknet. The easiest way to check this is to compare your exported layer file sizes with the sizes of the provided sample layer files.
Closing for inactivity. Feel free to reopen.
I optimized a Yolov4-tiny model, however the optimized model now returns no bounding boxes. Before optimization, my tiny model did return bounding boxes upon testing. Any ideas on what could have gone wrong? The code below was able to optimize and test a standard YOLOv4 model with FP16/FP32 and batch size of 4.
My program to optimize the model:
How I tested my RT model for bounding boxes: