Giter VIP home page Giter VIP logo

Comments (4)

khchow-gt avatar khchow-gt commented on May 26, 2024

Which model are you using? If it is YOLOv3 or SSD, resizing inputs is necessary because these techniques require a specific resolution of the input image (e.g., for SSD300, it must be 300x300). If you are using Faster R-CNN instead, you can modify the image preprocessing component and send the image with the original resolution to the model.

from tog.

alexmstaff avatar alexmstaff commented on May 26, 2024

I'm using the YOLOv3 model and attacking a YOLOv3 model trained using darknet. The problem I'm facing is that even though the darknet model downsamples images to 416 x 416, it loses most of its performance on the images that have been processed by the letterbox_image function

def letterbox_image(image, size, extended=False, to_numpy=False):

from tog.

khchow-gt avatar khchow-gt commented on May 26, 2024

Unfortunately, this downsampling is requested by YOLOv3. There are two solutions you may explore:

  1. Use YOLOv3 with a higher resolution (but it should be a multiple of 32)
  2. Use Faster R-CNN as it doesn't require downsampling

from tog.

alexmstaff avatar alexmstaff commented on May 26, 2024

Right! I'll try these options.

from tog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.