Comments (6)
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.
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.
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.
@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.
@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.
@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)
- [FEATURE REQUEST]: Title parquet processing
- [FEATURE REQUEST]: The ability to learn using the GPU
- Image processing and Compilation info HOT 2
- Cannot use the exported model HOT 2
- [FEATURE REQUEST]: Bounding Box
- [FEATURE REQUEST]: LLM Support
- snippets/markdown/image/edgetpu/python.md Opencv example code doesn't swap color to BGR2RGB
- Teachable Machine Project Help HOT 5
- How to run when there is no network in the local browser? HOT 1
- TeachableMachine.Calculate() always returns "Value cannot be null. (Parameter 's')" using C# .NET API
- [BUG]: TeachableMachine on local machine
- Is there an API that could obtain a trained .tflite model?
- Compilation error: tensorflow/lite/version.h: No such file or directory HOT 1
- linker_script.ld:138 cannot move location counter backwards (from 200532b0 to 2003fc00)
- Unable to build docker image
- [BUG]: 'keras.md' code refers erroneously to downloaded model file
- Error when doing inference in loading my model HOT 1
- Unable to Compile Zip File for Arduino Nano
- [FEATURE REQUEST]: Ability to get timestamps of detected audio classes while recording
- Teachable machine with tensorflow.js model - jpg files for clasification instead of video stream from webcam
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teachablemachine-community.