How can I train a model for localizing objects(classification not required) in Python












2












$begingroup$


I need to make a model that creates bounding box around objects(but does not classify them) for a competition. Which libraries or pre-trained models should I use. I need values of x1,x2(x1+w),y1,y2(y1+h), where all dimensions are measured from top left corner. The accuracy is measured by IOU(Intersection over Union).










share|improve this question









$endgroup$

















    2












    $begingroup$


    I need to make a model that creates bounding box around objects(but does not classify them) for a competition. Which libraries or pre-trained models should I use. I need values of x1,x2(x1+w),y1,y2(y1+h), where all dimensions are measured from top left corner. The accuracy is measured by IOU(Intersection over Union).










    share|improve this question









    $endgroup$















      2












      2








      2


      1



      $begingroup$


      I need to make a model that creates bounding box around objects(but does not classify them) for a competition. Which libraries or pre-trained models should I use. I need values of x1,x2(x1+w),y1,y2(y1+h), where all dimensions are measured from top left corner. The accuracy is measured by IOU(Intersection over Union).










      share|improve this question









      $endgroup$




      I need to make a model that creates bounding box around objects(but does not classify them) for a competition. Which libraries or pre-trained models should I use. I need values of x1,x2(x1+w),y1,y2(y1+h), where all dimensions are measured from top left corner. The accuracy is measured by IOU(Intersection over Union).







      machine-learning neural-network image-classification image-recognition






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 9 at 7:27









      Saurabh SinghSaurabh Singh

      354




      354






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          The mainstream algorithms used today for finding the bounding boxes of objects in an image includes:





          • R-CNN (and related Fast R-CNN and Faster R-CNN). This family of the algorithms actual does the localization (finding the bounding boxes) and classification in two separate steps. It finds the bounding box then does the classification. So if you don't need classification, just skip the second step.


          • YOLO stands for 'You only look once'. The name comes from the fact this algorithm actually does the localisation and classification in one go.


          Both algorithms can be implemented in the mainstream python deep learning library like tensor-flow or pytorch etc






          share|improve this answer









          $endgroup$





















            1












            $begingroup$

            Here is a good example how to do it in Keras using YOLO model: https://github.com/miranthajayatilake/YOLOw-Keras






            share|improve this answer









            $endgroup$














              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "557"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f45292%2fhow-can-i-train-a-model-for-localizing-objectsclassification-not-required-in-p%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2












              $begingroup$

              The mainstream algorithms used today for finding the bounding boxes of objects in an image includes:





              • R-CNN (and related Fast R-CNN and Faster R-CNN). This family of the algorithms actual does the localization (finding the bounding boxes) and classification in two separate steps. It finds the bounding box then does the classification. So if you don't need classification, just skip the second step.


              • YOLO stands for 'You only look once'. The name comes from the fact this algorithm actually does the localisation and classification in one go.


              Both algorithms can be implemented in the mainstream python deep learning library like tensor-flow or pytorch etc






              share|improve this answer









              $endgroup$


















                2












                $begingroup$

                The mainstream algorithms used today for finding the bounding boxes of objects in an image includes:





                • R-CNN (and related Fast R-CNN and Faster R-CNN). This family of the algorithms actual does the localization (finding the bounding boxes) and classification in two separate steps. It finds the bounding box then does the classification. So if you don't need classification, just skip the second step.


                • YOLO stands for 'You only look once'. The name comes from the fact this algorithm actually does the localisation and classification in one go.


                Both algorithms can be implemented in the mainstream python deep learning library like tensor-flow or pytorch etc






                share|improve this answer









                $endgroup$
















                  2












                  2








                  2





                  $begingroup$

                  The mainstream algorithms used today for finding the bounding boxes of objects in an image includes:





                  • R-CNN (and related Fast R-CNN and Faster R-CNN). This family of the algorithms actual does the localization (finding the bounding boxes) and classification in two separate steps. It finds the bounding box then does the classification. So if you don't need classification, just skip the second step.


                  • YOLO stands for 'You only look once'. The name comes from the fact this algorithm actually does the localisation and classification in one go.


                  Both algorithms can be implemented in the mainstream python deep learning library like tensor-flow or pytorch etc






                  share|improve this answer









                  $endgroup$



                  The mainstream algorithms used today for finding the bounding boxes of objects in an image includes:





                  • R-CNN (and related Fast R-CNN and Faster R-CNN). This family of the algorithms actual does the localization (finding the bounding boxes) and classification in two separate steps. It finds the bounding box then does the classification. So if you don't need classification, just skip the second step.


                  • YOLO stands for 'You only look once'. The name comes from the fact this algorithm actually does the localisation and classification in one go.


                  Both algorithms can be implemented in the mainstream python deep learning library like tensor-flow or pytorch etc







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 9 at 9:43









                  Louis TLouis T

                  791320




                  791320























                      1












                      $begingroup$

                      Here is a good example how to do it in Keras using YOLO model: https://github.com/miranthajayatilake/YOLOw-Keras






                      share|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        Here is a good example how to do it in Keras using YOLO model: https://github.com/miranthajayatilake/YOLOw-Keras






                        share|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          Here is a good example how to do it in Keras using YOLO model: https://github.com/miranthajayatilake/YOLOw-Keras






                          share|improve this answer









                          $endgroup$



                          Here is a good example how to do it in Keras using YOLO model: https://github.com/miranthajayatilake/YOLOw-Keras







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Feb 9 at 9:45









                          Antonio JurićAntonio Jurić

                          741111




                          741111






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Data Science Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f45292%2fhow-can-i-train-a-model-for-localizing-objectsclassification-not-required-in-p%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Human spaceflight

                              Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                              File:DeusFollowingSea.jpg