blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.86k stars 1.72k forks source link

Is it possible to run the frigate using my own model which was trained on custom objects. #3348

Closed AnishDeepak closed 2 years ago

AnishDeepak commented 2 years ago

Screenshot from 2022-06-15 10-48-16 Describe what you are trying to accomplish and why in non technical terms I have been trying to place my custom object detection model in frigate but getting errors. How to replace frigate object detection model with my custom object detection model. I am adding model variable in frigate.yml file which is in "frigate/frigate-has-integration/.devcontainer/ directory. Screenshot from 2022-06-15 10-32-01

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

NickM-27 commented 2 years ago

Can you please provide your config as text please? There is likely a formatting error somewhere, I entered it as it appears in the screenshot and it worked

AnishDeepak commented 2 years ago

Hi, thank you for the response. After I raised the issue I have tried with ssdlite-mobiledet and mobilenetv2 models from the following github repo from which frigate downloading the model: google-coral/test_data: Trained and compiled TF Lite models, and other testing data for Coral devices (github.com) https://github.com/google-coral/test_data/. But when I converted my pytorch yolov5 model's best.pt weights to tflite, I am facing that issue. Does frigate support yolov5? or should I only use the models in that repository?

On Wed, 15 Jun, 2022, 7:14 pm Nicolas Mowen, @.***> wrote:

Can you please provide your config as text please? There is likely a formatting error somewhere, I entered it as it appears in the screenshot and it worked

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/3348#issuecomment-1156493491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFJ6V6MRAV73XOL53TFBNDVPHM3RANCNFSM5YZ55UHA . You are receiving this because you authored the thread.Message ID: @.***>

NickM-27 commented 2 years ago

Frigate does not currently support yolov5

https://github.com/blakeblackshear/frigate/pull/3099 is a little out of date but exists for this purpose

AnishDeepak commented 2 years ago

Thank you Nicolas.

On Wed, 15 Jun, 2022, 7:47 pm Nicolas Mowen, @.***> wrote:

Frigate does not currently support yolov5

3099 https://github.com/blakeblackshear/frigate/pull/3099 is very out

of date but exists for this purpose

— Reply to this email directly, view it on GitHub https://github.com/blakeblackshear/frigate/issues/3348#issuecomment-1156532745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFJ6V2X5AFSQLJH2SYIKH3VPHQV5ANCNFSM5YZ55UHA . You are receiving this because you authored the thread.Message ID: @.***>

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.