chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
809 stars 131 forks source link

torchvision #233

Closed mhsmith closed 4 years ago

mhsmith commented 4 years ago

PyTorch is now available for Chaquopy 7.0.2 or later, but torchvision is still missing. If you want this package, please subscribe to this issue and add a thumbs-up.

mhsmith commented 4 years ago

Actually, you can already use torchvision versions below 0.3.0, since they didn't contain any native components. But I don't know whether they're compatible with the current version of PyTorch.

mhsmith commented 4 years ago

Torchvision version 0.5.0 is now available for Chaquopy 7.0.2 or later.

The native operators won't be available until the next version of Chaquopy, but it looks like some of the models will work fine without them, including mobilenet_v2.

mhsmith commented 4 years ago

This issue is fixed in Chaquopy 8.0.0. To upgrade, open your app's top-level build.gradle file and change the version number of com.chaquo.python:gradle.