After generating .rt, there is no check boxes when using demo.exe to test
Closed this issue · 10 comments
It seems like the debug file are missing.
Does the demo work?
Which steps did you follow to reach that result?
Hi,mive93!I thought the debug file was not necessary, so I didn’t care about it.
I first used darknet to export the weights. Then I changed the names and cfg files under tkdnn/test/darknet. Then use test_yolo4.exe to generate the rt file, it is as shown in the figure above. Then I run demo.exe to test rt file, and I find that there is no check boxes.
You should export the debug and check if the conversion works fine.
This is what it says in the document,‘if you need debug export of every layer ouput you MUST compile in CPU mode’,I’m not sure how to compile with cpu, so I didn’t use.
It's quite easy, just leave GPU=0
in darknet makefile
Thank you very much! I will try it. After modifying it, recompiling, and then using export, will there be a debug file?
A debug folder. Just create the debug and layers folder in advance.
Thank you for your reply! I have another question. Do the parameters in the training cfg, the exported cfg and the cfg used by tkdnn all need to be consistent?Especially the size of batchsize.
Yes, they need to be consistent, but the batch size of that config (only used for training) is not used in tkDNN.