Faster RCNN + inception v2 input size












0














What is the input size of faster RCNN RPN?
I'm using an object detection API of Tensorflow which is using faster RCNN as region proposal network ( RPN ) and Inception as feature extractor ( according to the config file ). The API is using the online approach in prediction phase and detects every input image singly. however, I'm now trying to feed images to the network in the batch manner by use of Tensorflow dataset API.
as you know for make batch out of the data, firstly we need to resize all of the images to a same size. I think the best way of resizing the images is to resize them exactly to the input size of faster RCNN to avoid duplicate resizing. Now my question is what is the input size of the faster RCNN RPN?
thanks in advance










share|improve this question





























    0














    What is the input size of faster RCNN RPN?
    I'm using an object detection API of Tensorflow which is using faster RCNN as region proposal network ( RPN ) and Inception as feature extractor ( according to the config file ). The API is using the online approach in prediction phase and detects every input image singly. however, I'm now trying to feed images to the network in the batch manner by use of Tensorflow dataset API.
    as you know for make batch out of the data, firstly we need to resize all of the images to a same size. I think the best way of resizing the images is to resize them exactly to the input size of faster RCNN to avoid duplicate resizing. Now my question is what is the input size of the faster RCNN RPN?
    thanks in advance










    share|improve this question



























      0












      0








      0







      What is the input size of faster RCNN RPN?
      I'm using an object detection API of Tensorflow which is using faster RCNN as region proposal network ( RPN ) and Inception as feature extractor ( according to the config file ). The API is using the online approach in prediction phase and detects every input image singly. however, I'm now trying to feed images to the network in the batch manner by use of Tensorflow dataset API.
      as you know for make batch out of the data, firstly we need to resize all of the images to a same size. I think the best way of resizing the images is to resize them exactly to the input size of faster RCNN to avoid duplicate resizing. Now my question is what is the input size of the faster RCNN RPN?
      thanks in advance










      share|improve this question















      What is the input size of faster RCNN RPN?
      I'm using an object detection API of Tensorflow which is using faster RCNN as region proposal network ( RPN ) and Inception as feature extractor ( according to the config file ). The API is using the online approach in prediction phase and detects every input image singly. however, I'm now trying to feed images to the network in the batch manner by use of Tensorflow dataset API.
      as you know for make batch out of the data, firstly we need to resize all of the images to a same size. I think the best way of resizing the images is to resize them exactly to the input size of faster RCNN to avoid duplicate resizing. Now my question is what is the input size of the faster RCNN RPN?
      thanks in advance







      tensorflow image-processing object-detection tensorflow-datasets






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 at 13:24

























      asked Nov 20 at 5:57









      Arashsyh

      749




      749
























          1 Answer
          1






          active

          oldest

          votes


















          1














          It depends on the input resolution which was specified in the pipeline config file, in image_resizer.
          For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file.
          The specified resolution is 600x1024.



          On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture.
          But this doesn't mean that the model will be robust to it if you're training on a single resolution.






          share|improve this answer





















          • Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
            – Arashsyh
            Nov 24 at 12:02













          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fstackoverflow.com%2fquestions%2f53387059%2ffaster-rcnn-inception-v2-input-size%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          It depends on the input resolution which was specified in the pipeline config file, in image_resizer.
          For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file.
          The specified resolution is 600x1024.



          On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture.
          But this doesn't mean that the model will be robust to it if you're training on a single resolution.






          share|improve this answer





















          • Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
            – Arashsyh
            Nov 24 at 12:02


















          1














          It depends on the input resolution which was specified in the pipeline config file, in image_resizer.
          For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file.
          The specified resolution is 600x1024.



          On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture.
          But this doesn't mean that the model will be robust to it if you're training on a single resolution.






          share|improve this answer





















          • Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
            – Arashsyh
            Nov 24 at 12:02
















          1












          1








          1






          It depends on the input resolution which was specified in the pipeline config file, in image_resizer.
          For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file.
          The specified resolution is 600x1024.



          On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture.
          But this doesn't mean that the model will be robust to it if you're training on a single resolution.






          share|improve this answer












          It depends on the input resolution which was specified in the pipeline config file, in image_resizer.
          For example, for Faster R-CNN over InceptionV2 trained on COCO dataset, see this config file.
          The specified resolution is 600x1024.



          On a side note, fully convolutional architectures (such as RFCN, SSD, YOLO) don't restrict to a single resolution, i.e. you can apply them on different input resolution without modifying the architecture.
          But this doesn't mean that the model will be robust to it if you're training on a single resolution.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 20 at 12:13









          netanel-sam

          28917




          28917












          • Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
            – Arashsyh
            Nov 24 at 12:02




















          • Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
            – Arashsyh
            Nov 24 at 12:02


















          Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
          – Arashsyh
          Nov 24 at 12:02






          Thanks a lot, yeah, after reading the paper I found that you're true and RPN is fully convolutional so there is no specific size for input. But, about 600 and 1024 which are mentioned as min resolution and max resolution in the config file, I think it means the network is on it's the best performance if you feed images with shapes neither greater than 1024 nor smaller than 600. I think it doesn't mean 600 * 1024 input size as you mentioned
          – Arashsyh
          Nov 24 at 12:02




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • 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.


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





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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.


          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%2fstackoverflow.com%2fquestions%2f53387059%2ffaster-rcnn-inception-v2-input-size%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

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          RAC Tourist Trophy