Giter Site home page Giter Site logo

Comments (6)

irealva avatar irealva commented on June 17, 2024 1

Thanks for sharing Kevin! We'll look into this as soon a bit of work clears up. Some great thoughts and suggestions in here.

from teachablemachine-community.

irealva avatar irealva commented on June 17, 2024

Hi Kevin, sorry for the delay on this. Would you want to take a stab at adding a preprocess function like this perhaps to utils and making a PR?

from teachablemachine-community.

roca77 avatar roca77 commented on June 17, 2024

This is definitely needed; I can train models but in production I am just shooting in the dark...This causes a lot of inaccurate prediction at inference because the input images would be reprocessed in a different fashion,...

Please advise

from teachablemachine-community.

kevinrobinson avatar kevinrobinson commented on June 17, 2024

@roca77 I don't work on the project, and just ran into this when playing around with it a while ago. I don't have any other suggestions other than what I've written above, and I'm not sure that code is even the same as it was over a year ago :)

If you want help with something specific, you could try sharing a code example (eg, through CodePen or Glitch or a GitHub project) that illustrates and describes the problem you're seeing. I'm not sure you're running into exactly the same issue described here.

from teachablemachine-community.

roca77 avatar roca77 commented on June 17, 2024

@kevinrobinson Well, yes I am experiencing this issue. I build an image classifier but at inference I am not what sort of processing to apply to the input image. I know the images using in training are cropped to a square, but nothing about the dimension, scaling. I wish those information could be made public so I could implement them in my javascript code.

from teachablemachine-community.

michaelrcrowl avatar michaelrcrowl commented on June 17, 2024

@irealva , based on this thread, do I understand correctly that besides the cropping to square, Teachable Machine does not augment the data in any other way? No random rotations, flips, etc?

from teachablemachine-community.

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.