Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing number of classes decreases FPS. #10

Open
dhirajpatnaik16297 opened this issue Jan 6, 2021 · 0 comments
Open

Increasing number of classes decreases FPS. #10

dhirajpatnaik16297 opened this issue Jan 6, 2021 · 0 comments

Comments

@dhirajpatnaik16297
Copy link

Hey Steve

I have a 1650ti gpu 4gb and i trained an object detection model for detection of one class (number plate) and then trained another model with 38 classes(For OCR). The model with 1 class is giving 20 FPS but the model with 38 classes is giving 0.03 FPS. I have exported the saved model into a frozen graph and have done the inference from the checkpoint as mentioned here::
https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/auto_examples/plot_object_detection_checkpoint.html#sphx-glr-auto-examples-plot-object-detection-checkpoint-py
for both the models but one is performing fast and another one is dead slow.I am not able to figure out where i am going wrong.
I have tried out to retrain by following the tutorial again but the results are same. The accuracy is good but only fps is hampered.
Please help me out as soon as possible.

I even tried out other ssd models for multiple classes but the problem remains the same and single class models achieve the desired fps and accuracy.

Also, does increasing number of classes decreases the fps? I want to know. I have tried out all optimisation techniques but all in vain.

Please let me know how to rectify this issue as soon as possible and did you face any such problem while training the OCR??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant