-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Description
It seems to be a problem from tensorflow side, does anyone have a clue?
Log:
I/tflite (31053): Created TensorFlow Lite delegate for GPU.
I/tflite (31053): Replacing 548 node(s) with delegate (TfLiteGpuDelegateV2) node, yielding 1 partitions.
2
W/libEGL (31053): find api call glTexStorage2DEXT, use glTexStorage2D instead
E/tflite (31053): Failed to build program executable - Build program failureBC-src-code:164:12: error: redefinition of 'interm_value_link5_link1'
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:156:12: note: previous definition is here
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:191:12: error: redefinition of 'interm_value_link5_link1'
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:183:12: note: previous definition is here
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:218:12: error: redefinition of 'interm_value_link5_link1'
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:210:12: note: previous definition is here
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:245:12: error: redefinition of 'interm_value_link5_link1'
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:237:12: note: previous definition is here
E/tflite (31053): float4 interm_value_link5_link1;
E/tflite (31053): ^
E/tflite (31053): BC-src-code:276:12: error: redefinition of 'interm_value_link5_link1'
E/tflite (31053): Falling back to OpenGL
I/AdrenoGLES-0(31053): QUALCOMM build : fd94b6f0cf, Ibfa69e6ec0
I/AdrenoGLES-0(31053): Build Date : 03/25/25
I/AdrenoGLES-0(31053): OpenGL ES Shader Compiler Version: E031.47.18.27
I/AdrenoGLES-0(31053): Local Branch :
I/AdrenoGLES-0(31053): Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.VENDOR.15.4.0.11.00.00.1088.627
I/AdrenoGLES-0(31053): Remote Branch : NONE
I/AdrenoGLES-0(31053): Reconstruct Branch : NOTHING
I/AdrenoGLES-0(31053): Build Config : S P 18.0.0 AArch64
I/AdrenoGLES-0(31053): Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
I/AdrenoGLES-0(31053): Driver Version : 0800.33
I/AdrenoGLES-0(31053): Process Name : com.example.crocodileiid
I/AdrenoGLES-0(31053): PFP: 0x01500077, ME: 0x01500014
E/libEGL (31053): call to OpenGL ES API with no current context (logged once per thread)
I/tflite (31053): Initialized OpenGL-based API.
E/tflite (31053): TfLiteGpuDelegate Init: No shader implementation for transpose
I/tflite (31053): Created 0 GPU delegate kernels.
E/tflite (31053): TfLiteGpuDelegate Prepare: delegate is not initialized
E/tflite (31053): Node number 548 (TfLiteGpuDelegateV2) failed to prepare.
E/tflite (31053): Restored original execution plan after delegate application failure.
AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="crocodileiid"
android:requestLegacyExternalStorage="true"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<uses-library android:name="libOpenCL.so"
android:required="false"/>
<uses-library android:name="libOpenCL-pixel.so"
android:required="false"/>
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
<!-- If your app checks for SMS support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="sms" />
</intent>
<!-- If your app checks for call support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="tel" />
</intent>
<!-- If your application checks for inAppBrowserView launch mode support -->
<intent>
<action android:name="android.support.customtabs.action.CustomTabsService" />
</intent>
</queries>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
Flutter Doctor:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.3, on macOS 15.5 24F74 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.3)
[✓] Connected device (5 available)
[✓] Network resources
Many Thanks
Metadata
Metadata
Assignees
Labels
No labels