Code Monkey home page Code Monkey logo

Unhandled Exception: PlatformException(error, Unsupported value: java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 10, 4] and a Java object with shape [1, 9, 9, 480]., null) about flutter_tflite HOT 4 CLOSED

shaqian avatar shaqian commented on August 21, 2024
Unhandled Exception: PlatformException(error, Unsupported value: java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 10, 4] and a Java object with shape [1, 9, 9, 480]., null)

from flutter_tflite.

Comments (4)

Saroopashree avatar Saroopashree commented on August 21, 2024

Hi @shaqian
Any thoughts on this?

from flutter_tflite.

shaqian avatar shaqian commented on August 21, 2024

Hi,

What is the method that you are calling? Is it Tflite.detectObjectOnImage? Can you try if the example app works?

Thanks,
Qian

from flutter_tflite.

shaqian avatar shaqian commented on August 21, 2024

I'm archiving this thread. Feel free to reopen if you have further questions.

Thanks,
Qian

from flutter_tflite.

mady143 avatar mady143 commented on August 21, 2024

Hi @shaqian @Saroopashree @laiso @mgalgs @prakhar1989 ,

I am new flutter and as well tflite i developed an app to detect the plant disease and when i process a leaf to detect and pass through a tflite model which is converted from hdf5 from python to tflite and i am getting an error
Exception has occurred. PlatformException (PlatformException(error, Unsupported value: java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 38] and a Java object with shape [1, 40]., null)) in flutter.

Coulod any one help me
i was totaly confused when i am getting an error can you help me with the solution.

Thanks and Regards
Manikantha Sekhar.

from flutter_tflite.

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.