Ask questionsThe use of tflite Model of C3D Network in Android

I use a model of C3D network training to convert to a tflite format; use in the android project available at: The following question arises: is android not currently supported Con3D? 5D data?

E/tensorflow: CameraActivity: Exception! java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: tensorflow/lite/kernels/ StridedSlice op only supports 1D-4D input arrays. Node number 0 (STRIDED_SLICE) failed to prepare.

    at org.tensorflow.lite.NativeInterpreterWrapper.allocateTensors(Native Method)
    at org.tensorflow.lite.NativeInterpreterWrapper.init(
    at org.tensorflow.lite.NativeInterpreterWrapper.<init>(
    at org.tensorflow.lite.Interpreter.<init>(
    at org.tensorflow.lite.examples.classification.tflite.Classifier.<init>(
    at org.tensorflow.lite.examples.classification.tflite.ClassifierFloatMobileNet.<init>(
    at org.tensorflow.lite.examples.classification.tflite.Classifier.create(
    at org.tensorflow.lite.examples.classification.ClassifierActivity.recreateClassifier(
    at org.tensorflow.lite.examples.classification.ClassifierActivity.onPreviewSizeChosen(
    at org.tensorflow.lite.examples.classification.CameraActivity.onPreviewFrame(
    at android.hardware.Camera$EventHandler.handleMessage(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)

Answer questions renjie-liu

Thai recently made a change to support > 4d dimension, can you retry with the selected ops?



Related questions

ModuleNotFoundError: No module named 'tensorflow.contrib' hot 9
Tf.Keras metrics issue hot 8
Error occurred when finalizing GeneratorDataset iterator hot 7
Error loading tensorflow hot 6
module 'tensorflow' has no attribute 'ConfigProto' hot 6
TF 2.0 'Tensor' object has no attribute 'numpy' while using .numpy() although eager execution enabled by default hot 6
tensorflow-gpu CUPTI errors
Lossy conversion from float32 to uint8. Range [0, 1]. Convert image to uint8 prior to saving to suppress this warning.
ModuleNotFoundError: No module named 'tensorflow.contrib'
When importing TensorFlow, error loading Hadoop
OSError: SavedModel file does not exist at: saved_model_dir/{saved_model.pbtxt|saved_model.pb}
AttributeError: module &#39;tensorflow.python.framework.op_def_registry&#39; has no attribute &#39;register_op_list&#39;
tf.keras.layers.Conv1DTranspose ?
[TF 2.0] tf.keras.optimizers.Adam hot 4
TF2.0 AutoGraph issue hot 4
Github User Rank List