首页 Paddle Lite 帖子详情
Android Studio 运行报错 已解决
收藏
快速回复
Paddle Lite 问答部署 2782 3
Android Studio 运行报错 已解决
收藏
快速回复
Paddle Lite 问答部署 2782 3


12/19 21:27:48: Launching 'app' on HUAWEI LIO-AN00.
Install successfully finished in 17 s 182 ms.
$ adb shell am start -n "com.baidu.paddledetection.detection/com.baidu.paddledetection.detection.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 18822 on device 'huawei-lio_an00-2KE0220217011770'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/ActivityThread: Init compatible state: true
D/HwFrameworkSecurityPartsFactory: HwFrameworkSecurityPartsFactory in.
I/HwFrameworkSecurityPartsFactory: add HwFrameworkSecurityPartsFactory to memory.
D/BehaviorCollectManager: hook process for AI virus second
I/BehaviorCollectManager: bindAnalyzerService: huawei.android.security.IAppBehaviorDataAnalyzer$Stub$Proxy@5e90900 pid:18822
D/ApplicationLoaders: createClassLoader zip: /data/app/com.baidu.paddledetection.detection-llFjPDIopQb4rJbLE6Wvig==/base.apk librarySearchPath: /data/app/com.baidu.paddledetection.detection-llFjPDIopQb4rJbLE6Wvig==/lib/arm64:/data/app/com.baidu.paddledetection.detection-llFjPDIopQb4rJbLE6Wvig==/base.apk!/lib/arm64-v8a libraryPermittedPath: /data/user/0/com.baidu.paddledetection.detection parent: java.lang.BootClassLoader@dec06a targetSdkVersion: 30 isBundled: false classLoaderName: null sharedLibraries: null
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.baidu.paddledetection.detection#10293#256
need clear apicache,because volumes changed,oldCnt=0 newCnt=1
I/HwTypeface: updateFont: scale=1.0
D/SystemFonts: areFontsVariable: script=Hans
I/HwApiCacheMangerEx: apicache path=/storage/emulated/0 state=mounted key=com.baidu.paddledetection.detection#10293#0
need clear apicache,because volumes changed,oldCnt=1 newCnt=1
I/ActivityThread: finishPreloaded preloadStatus 0
I/HwPartIawareFactory: add android.common.HwPartIawareFactoryImpl to memory.
I/AwareBitmapCacher: init processName:com.baidu.paddledetection.detection pid=18822 uid=10293
D/OpenGLRenderer: disableOutlineDraw is true
E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@c6384df
V/ActivityThread: callActivityOnCreate
I/OpenGLRenderer: RenderThread: progress name = [com.baidu.paddledetection.detection], viewCornerType = 0
I/iGraphics: [0020080c] pn: com.baidu.paddledetection.detection, p: 18822
[0030080c] no spt app: com.baidu.paddledetection.detection
I/DecorView[]: pkgName:com.baidu.paddledetection.detection old windowMode:0 new windoMode:1, isFixedSize:false
I/RmeSchedManager: init Rme, version is: v1.0
I/RtgSchedEvent: current pid:18822 AppType:-1
I/RmeSchedManager: init Rme, version is: v1.0
W/ction.detectio: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
W/ction.detectio: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
D/ActivityThread: add activity client record, r= ActivityRecord{e2c3753 token=android.os.BinderProxy@af70539 {com.baidu.paddledetection.detection/com.baidu.paddledetection.detection.MainActivity}} token= android.os.BinderProxy@af70539
I/HwPartMagicWindowFactory: add android.common.HwPartMagicWindowFactoryImpl to memory.
D/MouseWheelSynthesizer: mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100
D/ViewRootImpl: ViewRootImpl mIsInProductivePCDisplay: false
I/HwPartPowerOfficeFactory: add HwPartPowerOfficeFactoryImpl to memory.
D/InputEventReceiver: dispatchInputInterval 1000000
I/RmeSchedManager: init Rme, version is: v1.0
I/RtgSchedEvent: current pid:18822 AppType:-1
D/OpenGLRenderer: disableOutlineDraw is true
D/HiTouch_PressGestureDetector: onAttached, package=com.baidu.paddledetection.detection, windowType=1, mIsHiTouchRestricted=false
I/: [CAF] out_sc_config: sc_enable=1, max_size=3670016
[CAF] sc_policy[0] = 0x0
[CAF] sc_policy[1] = 0x0
[CAF] sc_policy[2] = 0x0
[CAF] sc_policy[3] = 0x0
I/: package[com.baidu.paddledetection.detection] pid[18822] game[0]
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
W/Gralloc3: mapper 3.x is not supported
I/HwViewRootImpl: removeInvalidNode jank list is null
D/DecorView: showOrHideHighlightView: hasFocus=true; winMode=1; isMrgNull=true
W/InputMethodManager: startInputReason = 1
W/HwRemoteInputMethodManager: isCasting false because IHwDistributedWindowManager is invalid.
W/InputMethodManager: startInputReason = 5
D/stylus: init stylus touchlistener.
I/Hwaps: APS: EventAnalyzed: initAPS: version is 11.0.0.4
D/Hwaps: Fpsrequest create,type:EXACTLY_IDENTIFY
Fpsrequest create,type:EXACTLY_IDENTIFY
Fpsrequest create,type:OPENGL_SETTING
FpsController create
D/Hwaps: APS: EventAnalyzed: reInitFpsPara :mBaseFps = 60; mMaxFps = 60
W/Settings: Setting device_provisioned has moved from android.provider.Settings.Secure to android.provider.Settings.Global.
V/HiTouch_HiTouchSensor: User setup is finished.
W/HwApsManager: HwApsManagerService, registerCallback, start !
D/Hwaps: APS: EventAnalyzed: registerCallbackInApsManagerService, mPkgName:com.baidu.paddledetection.detection; result = true
V/AudioManager: querySoundEffectsEnabled...
W/linker: Warning: "/data/app/com.baidu.paddledetection.detection-llFjPDIopQb4rJbLE6Wvig==/base.apk!/lib/arm64-v8a/libpaddle_light_api_shared.so" unused DT entry: DT_RPATH (type 0xf arg 0x8051) (ignoring)
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1097 Setup] ARM multiprocessors name: HARDWARE : VENDOR KIRIN990
_LIO_KIRIN990_
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1098 Setup] ARM multiprocessors number: 8
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 0, max freq: 1954, min freq: 1954, cluster ID: 1, CPU ARCH: A55
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 1, max freq: 1954, min freq: 1954, cluster ID: 1, CPU ARCH: A55
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 2, max freq: 1954, min freq: 1954, cluster ID: 1, CPU ARCH: A55
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 3, max freq: 1954, min freq: 1954, cluster ID: 1, CPU ARCH: A55
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 4, max freq: 2360, min freq: 2360, cluster ID: 0, CPU ARCH: A76
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 5, max freq: 2360, min freq: 2360, cluster ID: 0, CPU ARCH: A76
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 6, max freq: 2861, min freq: 2861, cluster ID: 0, CPU ARCH: A76
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1100 Setup] ARM multiprocessors ID: 7, max freq: 2861, min freq: 2861, cluster ID: 0, CPU ARCH: A76
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1106 Setup] L1 DataCache size is:
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1108 Setup] 32 KB
I/chatty: uid=10293(com.baidu.paddledetection.detection) identical 2 lines
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1108 Setup] 32 KB
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1108 Setup] 64 KB
I/chatty: uid=10293(com.baidu.paddledetection.detection) identical 2 lines
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1108 Setup] 64 KB
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1110 Setup] L2 Cache size is:
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1112 Setup] 128 KB
I/chatty: uid=10293(com.baidu.paddledetection.detection) identical 2 lines
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1112 Setup] 128 KB
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1112 Setup] 512 KB
I/chatty: uid=10293(com.baidu.paddledetection.detection) identical 2 lines
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1112 Setup] 512 KB
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1114 Setup] L3 Cache size is:
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1116 Setup] 4096 KB
I/chatty: uid=10293(com.baidu.paddledetection.detection) identical 6 lines
I/Paddle-Lite: [I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1116 Setup] 4096 KB
[I 12/19 21:28: 8.428 ...and/Paddle-Lite/lite/core/device_info.cc:1118 Setup] Total memory: 7606960KB
W/Paddle-Lite: [W 12/19 21:28: 8.429 ...e-Lite/lite/model_parser/model_parser.cc:882 LoadModelFbsFromFile]
warning: the version of opt that transformed this model is not consistent with current Paddle-Lite version.
version of opt:v2.10-rc
version of current Paddle-Lite:v2.9.1
I/DecorView[]: pkgName:com.baidu.paddledetection.detection old windowMode:1 new windoMode:1, isFixedSize:false
D/RenderService: RCS is disable
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
I/Camera: open camera: 0, package name: com.baidu.paddledetection.detection
W/Gralloc3: allocator 3.x is not supported
D/JNI: Read from FBO texture costs 14.394000 ms
D/JNI: Detector preprocess costs 6.004000 ms
A/Paddle-Lite: [F 12/19 21:28: 8.566 ...Paddle-Lite/lite/operators/reshape_op.cc:177 ValidateShape] Check failed: (capacity == input_size): 1024000!==256000 Invalid shape is given.
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19022 (GLThread 3806), pid 18822 (ction.detection)

琦琦的小老鼠
已解决
2# 回复于2021-12
这个模型应该是int8的,你的部署代码是float32的,不对应
0
收藏
回复
全部评论(3)
时间顺序
琦琦的小老鼠
#2 回复于2021-12

这个模型应该是int8的,你的部署代码是float32的,不对应

0
回复
吴同志的网盘
#3 回复于2022-03
这个模型应该是int8的,你的部署代码是float32的,不对应

请问这个要怎么修改

0
回复
人来了鸟
#4 回复于2023-03
请问这个要怎么修改

请问这个怎么解决

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户