通过Kivy在Android上使用Tensorflow [英] Tensorflow on Android via Kivy

查看:250
本文介绍了通过Kivy在Android上使用Tensorflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了这个答案,这使我想到了这个主意,而不是使用可能可以使用的已编译张量流图在您的Android手机上显示为kivy.这样,您可以使用 python-for-android 直接与tensorflow图对话. /p>

一个可能的优势是动态地训练/适应模型.据我所知,您只能使用最终的训练模型(但这当前是此处).

我不知道技术限制.任何人都可以确认这是可能的,也许是必要的?

解决方案

尽管将来有可能使用WinPhones ,但基本上没有人关心,因为实际上并没有对移植非常感兴趣.但是,关于使用angle将openGL转换为DirectX的事情正在进行中,因此有可能稍后.虽然仍然有这个有趣的应用程序包装,所以会花费很多时间.

但是,我认为可能可以使用那些非官方的转换器APK-> WinPhone应用.关于TensorFlow:在我看来,似乎只缺少一个食谱,所以尝试写一个. :P

I found this answer that brought me to the idea instead of using the compiled tensorflow graph you might be able to use kivy on your Android phone. That way you could directly talk to the tensorflow graph using python-for-android.

A possible advantage would be to train/adapt the model on the fly. As far as I know otherwise you can only use the final trained model (but this is currently unanswered on stackoverflow). Also cross compiling to Windows Phone might be possible what currently isn't (see here).

I don't know the technical limitations. Anyone can confirm that this is possible and maybe what would be neccessary?

解决方案

Although WinPhones could be a possibility in the future, there's basically a situation where almost no-one cares as there isn't really much interest about porting it. However, there's a thing in progress about using angle for translating openGL to DirectX, so it could be possible later. There's still this funny app packaging though, so it'll eat a lot of time.

Yet I think it might be possible to use those unofficial converters APK -> WinPhone app. Re TensorFlow: to me it looks like only a recipe is missing so try write one. :P

这篇关于通过Kivy在Android上使用Tensorflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆