I would like to fine tune a model on my own data. However the model is distributed by tflite format. Is there anyway to extract the model architecture and parameters out of the tflite file?
How to do fine tuning on TFlite model
1.2k Views Asked by MMZ At
2
There are 2 best solutions below
0
Prunus Persica
On
One approach could be to convert the TFLite file to another format, and import into a deep learning framework that supports training.
Something like ONNX, using tflite2onnx, and then import into a framework of your choice. Not all frameworks can import from ONNX (e.g. PyTorch). I believe you can train with ONNXRuntime, and MXNet. Unsure if you can train using TensorFlow.
Related Questions in TENSORFLOW
- (Tensorflow)Does the op assign change the gradient computation?
- Tensorflow Windows Accessing Folders Denied:"NewRandomAccessFile failed to Create/Open: Access is denied. ; Input/output error"
- Android App TensorFlow Google Cloud ML
- Convert Tensorflow model to Caffe model
- Google Tensorflow LSTMCell Variables Mapping to Hochreiter97_lstm.pdf paper
- additive Gaussian noise in Tensorflow
- TFlearn evaluate method results meaning
- Regularization losses Tensorflow - TRAINABLE_VARIABLES to Tensor Array
- feed picture to model tensorflow for training
- Fail to read the new format of tensorflow checkpoint?
- I got a error when running a github project in tensorflow
- Tensorflow R0.12 softmax_cross_entropy_with_logits ASSERT Error
- RuntimeError in run_one_batch of TensorFlowDataFrame in tensorflow
- Same output in neural network for each input after training
- ConvNet : Validation Loss not strongly decreasing but accuracy is improving
Related Questions in DEEP-LEARNING
- [Caffe]: Check failed: ShapeEquals(proto) shape mismatch (reshape not set)
- Caffe net.predict() outputs random results (GoogleNet)
- Implementation of convolutional sparse coding in deep networks frameworks
- Matlab example code for deep belief network for classification
- Two errors while running Caffe
- How to speed up caffe classifer in python
- Caffe Framework Runtest Core dumped error
- Scan function from Theano replicates non_sequences shared variables
- Why bad accuracy with neural network?
- Word2Vec Sentiment Classification with R and H2O
- What is gradInput and gradOutput in Torch7's 'nn' package?
- Error while drawing net in Caffe
- How does Caffe determine the number of neurons in each layer?
- Conclusion from PCA of dataset
- Google Deep Dream art: how to pick a layer in a neural network and enhance it
Related Questions in TENSORFLOW2.0
- TF2.3 load subclassing model with tf.feature_column get ValueError: Could not find matching function to call loaded from the SavedModel
- Validation loss become nan while training on TPU but perfectly ok on GPU
- Is there any solution for failing to load model in tensorflow2.3?
- How do I call ExampleValidator to analyze split data sets?
- Tensorflow: convert PrefetchDataset to BatchDataset
- TypeError: '...' has type str, but expected one of: bytes
- Convert range index to coordinates in tensorflow
- AttributeError: 'Concatenate' object has no attribute 'shape'
- Implementing Transfer Learning using Pegasus for Text Summarization generating junk characters
- saturated contrast and low brightness in tensorboard when training TF2 object_detection API
- On the use of Batch Normalization
- Why isn't SchemaGen supported in tfdv.display_schema()?
- "tensorflow.python.framework.errors_impl.FailedPreconditionError" while running "model_main_tf2.py" for training object detection model in tensorflow
- What is the fast way to get tensorflow universal sentence embeddings on large corpus?
- AttributeError: module 'keras.backend' has no attribute 'common'
Related Questions in TENSORFLOW-LITE
- Issue in creating Tflite model populated with metadata (for object detection)
- What is a lite model in Deep Learning?
- Unable to Import tflite-support package. Receiving error "DLL load failed: The specified module could not be found"
- Google Meet background Blur
- Error when training Tensorflow image classification model even when all images in jpeg format. Anyone have a fix?
- How to remove background from an image using TensorFlow Lite?
- How to convert Tensorflow Object Detection API model to TFLite?
- Export data from PoseNet app by tensorflow-lite in android
- Passing custom attributes from TF op to TFL (MLIR)
- Building libtensorflowlite.so without any error, but share file is close to empty (KB)
- tensorflow Lite Segmentation fault
- How to find the Tensorflow node with a given index?
- What's the output of YOLO?
- How to Fix ERROR: Command errored out with exit status 1: when installing tensorflow_recommenders using pip
- TensorFlow Lite does not recognize op VarHandleOp
Related Questions in TRANSFER-LEARNING
- Implementing Transfer Learning using Pegasus for Text Summarization generating junk characters
- How to add new classes to tensorflow.js model in transfer learning?
- Prediction for single image file using tensor flow transfer learning model
- Can this be considered overfitting?
- why am I getting error in transfer learning?
- Fine tuning a model in transfer learning
- How should I improve my accuracy in Transfer learning?
- Do you have any ideas to proceed custom size image using MobileNet?
- WARNING:tensorflow:Can save best model only with val_accuracy available, skipping
- ValueError: The input must have 3 channels; got `input_shape=(200, 200, 1)`
- Minimize the small loss to zero loss in transfer learning
- In Transfer Learning ValueError: Failed to convert a NumPy array to a Tensor
- How to do fine tuning on TFlite model
- Confusion Matrix in transfer learning with keras
- Keras AttributeError: 'Functional' object has no attribute 'shape'
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure to understand what you need. But if you want to know the exact architecture of your model you can use neutron to find out. You will get something like the this :
And for your information TensorFlow Lite is not meant to be finetuned. You need to finetune a classic TensorFlow model and then convert it to TensorFlow Lite.