-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
model seems like loaded but nothing on the screen after some bugs #65
Comments
@Jaemani it seems like you're encountering issues with the app displaying a blank screen after loading the model. Please ensure you're using the latest version of the Ultralytics package and verify that all dependencies are correctly updated. If the issue persists, consider checking the permissions and reviewing the logs for any additional errors. For further assistance, you can explore our documentation at https://docs.ultralytics.com. If you have more questions, feel free to ask! |
@pderrenger Hi, thanks, could you tell me how to check all dependencies are correctly updated? I did try this.
and
got this when at first I couldn't get from |
I'm just wondering that I don't know why I'm having problems even though I've clone from github and didn't touch anythinng |
also tried on Windows OS, but got exactly same bugs, including this: after changed to .gradle/caches/transforms-3/0d01aa93113a93dc848bd76abf9dde3c/transformed/jetified-core-ktx-1.13.1-api.jar!/META-INF/core-ktx_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1. and then when changed back to and flutter required 1.7.10 again. all of the result and the flow are the same.. |
Downgraded to would you tell me if the SDK version was the problem, did I used correct flutter version? |
Please ensure you're using the latest version of the Ultralytics package and verify all dependencies are updated. If the issue persists, check the compatibility of your Flutter version with the package. For further guidance, visit our documentation at https://docs.ultralytics.com. |
@pderrenger Please, would you just tell me the version and dependency? I can not find any documentation about flutter or flutter environment. |
Please ensure you're using the latest version of the Ultralytics package and check the compatibility with your Flutter SDK. For detailed guidance, visit our documentation at https://docs.ultralytics.com. |
I think @pderrenger is just a bot...always response the same...LOL :/ |
Please ensure you're using the latest version of the Ultralytics package. If the issue persists, try checking the configuration of |
preinstall, bug fixed
run terminal at yolo-flutter-app/example.
required
flutter create
, ran it.win32 version caused error,
clean cache&
flutter get
+flutter pub upgrade win32
not worked,manually upgraded from 3.1.4 to 5.6.0. solved it.
flutter minimum required
kotlin > 1.7.0
, but now1.5.10
changed to"ext.kotlin_version = '1.7.10'"
.requierd
compileSdkVersion 34
, so changedcompileSdkVersion 33
to34
transforms-3/...transformed/jetified-core-ktx-1.13.1-api.jar!/META-INF/core-ktx_release.kotlin_module
metadata is 1.8.0, expected 1.5.1
changed back to
"ext.kotlin_version = '1.5.10'"
. and flutter required 1.7.10 again.so fix again to
"ext.kotlin_version = '1.7.10'"
android
build successful.
uncomment the object detector, and choosed builted-in
.tflite
model.Not working,
it was black when it is asking about permission, but
only white blank screen after request permission.
when click button just show 1,0,1,0 at terminal.
macOS & iOS simulator
build successful.
uncomment the object detector, and choosed builted-in
.mlmodel
model.Not working,
only white screen after request permission.
also added loading placeholder code as github page, but no any letters shown, only blank white screen.
Performing hot reload...
Reloaded 0 libraries in 333ms (compile: 21 ms, reload: 0 ms, reassemble: 77 ms).
I/ViewRootImpl@aba3422MainActivity: MSG_WINDOW_FOCUS_CHANGED 0 0
I/ViewRootImpl@aba3422MainActivity: stopped(false) old = false
I/DecorView(20421): notifyKeepScreenOnChanged: keepScreenOn=false
I/MSHandlerLifeCycle(20421): removeMultiSplitHandler: no exist. decor=DecorView@60f07b1[MainActivity]
I/ViewRootImpl@aba3422MainActivity: performTraversals params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
I/ViewRootImpl@aba3422MainActivity: fl=81810100
I/ViewRootImpl@aba3422MainActivity: pfl=12020040
I/ViewRootImpl@aba3422MainActivity: vsysui=500
I/ViewRootImpl@aba3422MainActivity: bhv=DEFAULT
I/ViewRootImpl@aba3422MainActivity: fitSides= naviIconColor=0
I/ViewRootImpl@aba3422MainActivity: sfl=100000}
I/ViewRootImpl@aba3422MainActivity: performTraversals mFirst=false windowShouldResize=false viewVisibilityChanged=false mForceNextWindowRelayout=false params={(0,0)(fillxfill) sim={adjust=resize forwardNavigation} ty=BASE_APPLICATION fmt=TRANSLUCENT wanim=0x1030001
I/ViewRootImpl@aba3422MainActivity: fl=81810100
I/ViewRootImpl@aba3422MainActivity: pfl=12020040
I/ViewRootImpl@aba3422MainActivity: vsysui=500
I/ViewRootImpl@aba3422MainActivity: bhv=DEFAULT
I/ViewRootImpl@aba3422MainActivity: fitSides= naviIconColor=0
I/ViewRootImpl@aba3422MainActivity: sfl=100000}
I/ViewRootImpl@aba3422MainActivity: updateBlastSurfaceIfNeeded mBlastBufferQueue=0xb4000076015deff0 isSameSurfaceControl=true
I/BLASTBufferQueue(20421): update, w= 1080 h= 2316 mName = ViewRootImpl@aba3422[MainActivity] mNativeObject= 0xb4000076015deff0 sc.mNativeObject= 0xb40000759161f950 format= -3 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2898 android.view.ViewRootImpl.relayoutWindow:9847 android.view.ViewRootImpl.performTraversals:3884 android.view.ViewRootImpl.doTraversal:3116 android.view.ViewRootImpl$TraversalRunnable.run:10885 android.view.Choreographer$CallbackRecord.run:1301
I/ViewRootImpl@aba3422MainActivity: Relayout returned: old=(0,0,1080,2316) new=(0,0,1080,2316) req=(1080,2316)0 dur=8 res=0x0 s={true 0xb400007691649b50} ch=false seqId=0
I/ViewRootImpl@aba3422MainActivity: updateBoundsLayer: t = android.view.SurfaceControl$Transaction@bf9e8da sc = Surface(name=Bounds for - com.ultralytics.ultralytics_yolo_example/com.ultralytics.ultralytics_yolo_example.MainActivity@0)/@0xf6c10b frame = 2
I/ViewRootImpl@aba3422MainActivity: mWNT: t=0xb4000075c15efdf0 mBlastBufferQueue=0xb4000076015deff0 fn= 2 caller= android.view.ViewRootImpl.prepareSurfaces:2985 android.view.ViewRootImpl.performTraversals:4233 android.view.ViewRootImpl.doTraversal:3116
I/ViewRootImpl@aba3422MainActivity: MSG_WINDOW_FOCUS_CHANGED 1 0
I/ViewRootImpl@aba3422MainActivity: mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400007691649b50}
D/InputMethodManager(20421): startInputInner - Id : 0
I/InputMethodManager(20421): startInputInner - mService.startInputOrWindowGainedFocus
The text was updated successfully, but these errors were encountered: