Comments (3)
Hi,
99.9 sounds a little high ... are you cross validating to make sure you aren't overfitting your data?
IMAGE_MEAN and IMAGE_STD aren't meant to be a function of the images. They're more a question of the expected input range of the the network being used. Some nets want the input on the [0,255] range, others [0,1], others [-1,1],... and having these "mean" and "variance" parameters to do what looks like a Z-score normalization (subtract the mean, and divide by the variance) is a simple way to enforce that.
I really don't think they're the cause of your problem.
Good luck!
from tensorflow-for-poets-2.
If you really want to try, the values are right there in ClassifierActivity.java but you should not have to update these, I'm prrety sure it can only make things worse.
from tensorflow-for-poets-2.
@MarkDaoust Thanks a lot. I just followed the steps post in tensorflow-for-poets-2. I will do cross validating to make sure whether the model overfitting or not.
The retrain.py is here which seem like contain validation sets.
from tensorflow-for-poets-2.
Related Issues (20)
- ERROR : python -m scripts.retrain -h HOT 3
- broken link to "quantized version of demo app" HOT 1
- scripts.label_image tensorflow 2.0 HOT 1
- Has no images in the category testing for retrain.py file
- Missing requirement for installing TensorFlow version. HOT 1
- AutoML TfLite Android Edge Device Tutorial: BufferOverflowException HOT 2
- Retrain from deeper within the architecture (include more layers)
- quantization instruction not working
- Need help on understanding "convertBitmapToByteBuffer" and "applyfilter"
- A lot of deprecated things and critical error in the end HOT 1
- unable to convert to .tflite
- Failed Building customized app 'E/AndroidRuntime: FATAL EXCEPTION: CameraBackground' HOT 1
- Cannot retrain data using scripts.retrain
- ERROR: tensorflow:No valid folders of images found at training_data/breadboard
- Getting Error While Converting to optimized tflite model
- Detecting other objects similar to trained model HOT 3
- Can't not build android app
- Takes too long time label_image.py
- Cant find bottleneck file in tf_file
- How to change the code to facilitate binary classification?
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 tensorflow-for-poets-2.