简体   繁体   中英

Error when I try to build Android app with CNTK by Unity3d

I have try so many weeks for build a Android app with CNTK's CNN evaluation function(C#) by Unity. But I encountered some error that I don't know how to solve.

The processing pipeline I expect is:

  1. Train the model using Keras (by python)

  2. Convert model to CNTK's format

  3. Use CNTK(C#)'s Evaluation function in Unity

  4. Export Android APK

I successed use CNTK for evaluation an image when I just use Play button in Unity before I builded. But when it has installed in my Android phone, it showed some error like CNTK cannot initialize because it cannot find the CPU.

The error message is below:

error message screenshot threw on cellphone

my system Configuration:

  • OS : Win10
  • Unity : 2017.3
  • Script Backend : Mono (I try IL2CPP but get some error)
  • API Compatibility : .NET 4.6
  • Build System : Gradle
  • CNTK 2.4 (C#)

(I also export to android studio and use AVD (arm processor) and failed.)

and give my project folder

Any suggestion will be appreciated.

CNTK doesn't support ARM CPU now. https://github.com/Microsoft/CNTK/issues/266

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM