Giter Site home page Giter Site logo

Comments (6)

titu1994 avatar titu1994 commented on June 3, 2024

Hmm thats definitely weird. The code diff basically shouldnt account for the change in scores. Can you try with the MobileNet snapshot weights from 0.3 and see the results?

Also, can you try 0.5 with imagesize of 224x224 ? I think size of the input image definitely can affect the result, but to completely change the ranking of a bad image to good is extremely weird.

from neural-image-assessment.

butterl avatar butterl commented on June 3, 2024

tried with python3 evaluate_mobilenet.py -dir ./inputs -resize false and got the the same outputs as 0.5 version, seems the problem is here

-resize true will only cut image into 224 * 224 pieces then just evaluate the first 224 * 224 piece?

from neural-image-assessment.

titu1994 avatar titu1994 commented on June 3, 2024

Not cut. It will resize the whole image to that size and then score.

from neural-image-assessment.

butterl avatar butterl commented on June 3, 2024

so the problem is that PIL resize image which make information lost?Do you got any good idea how to evaluate with big image ? resize seem not work very well

from neural-image-assessment.

titu1994 avatar titu1994 commented on June 3, 2024

No idea. I guess you could take multiple crops of the same image and then average the scores but that defeats the purpose of a fast inference model.

from neural-image-assessment.

tech-tube-code avatar tech-tube-code commented on June 3, 2024

@titu1994
Is it possible to split out evulation_mobilenet.py into 2 functions. One function will load the function and the other function will predict the score. Actually, I'm developing a flask app where I want to load all models when starting the flask app and through API just get the image score.

from neural-image-assessment.

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.