Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aplikasi force close #1

Open
lulungsatrioprayuda opened this issue Mar 18, 2022 · 4 comments
Open

aplikasi force close #1

lulungsatrioprayuda opened this issue Mar 18, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@lulungsatrioprayuda
Copy link
Owner

flutter aplikasi saya memiliki bug dimana disaat saya ingin klik salah satu gambar dari gallery atau ingin mengambil gambar dari kamera secara langsung aplikasi pun otomatis force close , bug ini sebelumnya tak terjadi sebelum saya membuat function untuk men load model tflite pada flutter tersebut, dan bug ada pada file lib/pages/home.dart,

@lulungsatrioprayuda
Copy link
Owner Author

ini error yang ada di debug console nya
I/tflite (11948): Initialized TensorFlow Lite runtime.
2
W/System (11948): A resource failed to call close.
I/rocessing_tria(11948): ProcessProfilingInfo new_methods=630 is saved saved_to_disk=1 resolve_classes_delay=8000
V/MiuiFrameworkFactory(11948): get AllImpl object = android.common.MiuiFrameworkFactoryImpl@9b330ce
W/MirrorManager(11948): this model don't Support
I/Timeline(11948): Timeline: Activity_launch_request time:1710387888
D/SurfaceView(11948): UPDATE Surface(name=SurfaceView - com.example.image_processing_trial/com.example.image_processing_trial.MainActivity)/@0x87c39e7, mIsProjectionMode = false
I/Timeline(11948): Timeline: Activity_launch_request time:1710393913
D/SurfaceView(11948): UPDATE Surface(name=SurfaceView - com.example.image_processing_trial/com.example.image_processing_trial.MainActivity)/@0xce595e2, mIsProjectionMode = false
E/libc (11948): Access denied finding property "ro.hardware.chipname"
E/AndroidRuntime(11948): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(11948): Process: com.example.image_processing_trial, PID: 11948
E/AndroidRuntime(11948): java.lang.RuntimeException: An error occurred while executing doInBackground()
E/AndroidRuntime(11948): at android.os.AsyncTask$4.done(AsyncTask.java:415)
E/AndroidRuntime(11948): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
E/AndroidRuntime(11948): at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
E/AndroidRuntime(11948): at java.util.concurrent.FutureTask.run(FutureTask.java:271)
E/AndroidRuntime(11948): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
E/AndroidRuntime(11948): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(11948): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(11948): at java.lang.Thread.run(Thread.java:923)
E/AndroidRuntime(11948): Caused by: java.lang.IllegalArgumentException: Cannot convert between a TensorFlowLite tensor with type UINT8 and a Java object of type [[F (which is compatible with the TensorFlowLite type FLOAT32).
E/AndroidRuntime(11948): at org.tensorflow.lite.TensorImpl.throwIfTypeIsIncompatible(TensorImpl.java:401)
E/AndroidRuntime(11948): at org.tensorflow.lite.TensorImpl.copyTo(TensorImpl.java:214)
E/AndroidRuntime(11948): at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:255)

@lulungsatrioprayuda
Copy link
Owner Author

image

@luthfidhani
Copy link

kayanya masalahnya ini
E/libc (11948): Access denied finding property "ro.hardware.chipname"

@lulungsatrioprayuda lulungsatrioprayuda added the bug Something isn't working label Mar 18, 2022
@lulungsatrioprayuda
Copy link
Owner Author

nemu issue yang sama cuma beliau os platformnya linux
tensorflow/tensorflow#52914

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants