thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.07k forks source link

How to test your own test images in darkflow #615

Open aaseagrass opened 6 years ago

aaseagrass commented 6 years ago

Hello! I'm working with the darkflow object detection and been able to train my own image data set after following the instruction in this repo however, I don't know or what command to use to test my own trained data set. I'm a graduating ECE student and working with our senior's project. Hoping anyone here could help me. Thank you!

rucsacman commented 6 years ago

You can use your cfg file and check ckpt folder checkpoint file find your last checkpoint and give that number with --load ex: --load 5000

aaseagrass commented 6 years ago

I see thank you @rucsacman ,as I checked my ckpt profile I have 3625 profile file. And you said also that I should load it in a way such as --load 3625. But can you tell me what exact command to use? Or is there command in the repo where all I need is just add --load 3625 to test my images? Thank you very much for your help.

rucsacman commented 6 years ago

flow --imgdir --model cfg/(your cfg file) --load 3625

aaseagrass commented 6 years ago

Wow! Thank you @rucsacman this a big help. I'll try it.

aaseagrass commented 6 years ago

Hi @rucsacman it works. Thank you for your help. :)

aaseagrass commented 6 years ago

Hello Everyone! Hope there is someone here who is knowledgeable in creating GUI in Python using Qt creator and Qt designer. Right now, I'm having difficulty in doing the GUI in our senior's project. I'm working with PyQt4 library for our GUI however, yesterday our uimain for our GUI suddenly didn't pop up. Instead, this kind of syntax appears everytime I run my GUI .py code "Process finished with exit code -1073741819 (0xC0000005)" and the ui didn't show up. Anyone here who knows who to solve that kind error? Thank you very much! This will be a another great help for us.