EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.93k stars 1.3k forks source link

How to speed up object detection in CPU #182

Open MFR1 opened 6 years ago

MFR1 commented 6 years ago

I am getting about 2 seconds with CPU and 0.7 seconds per frame with GPU. Is there any way to improve the detection speed? I have also tried to test with different models like SSD mobilenet but I am getting this error:

raise ValueError("No variables to save") ValueError: No variables to save

Anyone who can help, please?

anonym24 commented 6 years ago

Did you find a solution?

MFR1 commented 6 years ago

@anonym24 Found solution for "No variables to save".

Solution: Change from_detection_checkpoint: false to from_detection_checkpoint: true

anonym24 commented 6 years ago

@MFR1 And what does it do (change)? Or you didn't bother and just set to true

MFR1 commented 6 years ago

No I just changed it, not investigated though

anonym24 commented 6 years ago

actually pets config also had true value only some other config didn't have