OpenMined / KotlinSyft

The official Syft worker for secure on-device machine learning
https://www.openmined.org
Apache License 2.0
86 stars 27 forks source link

Debugging Torchscript / Plans in Android #297

Closed mustansarsaeed closed 3 years ago

mustansarsaeed commented 3 years ago

Hi, Thank you for the great APIs. I am just worried how can we debug Plans that we have downloaded as Binary from PyGrid server. e.g., I am executing training plan as follows:

Training plan Android

val output = plan.execute(
                            batchData.first,
                            batchData.second,
                            batchIValue,
                            lr, paramIValue
                        )

How can we debug what's going on during the training?

Thanks.

vkkhare commented 3 years ago

Hi @mustansarsaeed debugging is not possible in android devices at the moment for tensor computations. THese are the few options to debug: