FedML-AI/FedML

Federated Learning android sample app not working

Open

#613 aberto em 21 de out. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Python (743 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (3.930 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I was following the 'Federate Learning on Android Smartphone' guide from the user guide page but there appears to be some issue with Step 3.) Setting data path on my device. I followed the guide as it was but I am not getting the 'green bar' to select a custom data path. Here's what my screen looks like:

Screenshot_20221020-223330_FedML Demo (Small)

According to the guide, there is supposed to be a way of manually changing the storage location, but my build of the app doesn't show anything. I am on the master branch and running the app on Android 12 if that helps. I am also attaching the logcat output below. Hopefully, someone can help me out! Thanks.

2022-10-20 22:42:58.337 16214-16214/? I/FedEdgeManager: init ai.fedml.edgedemo
2022-10-20 22:42:58.375 1131-1520/? I/ActivityManager: Start proc 28072:ai.fedml.edgedemo:edge/u0a449 for service {ai.fedml.edgedemo/ai.fedml.edge.service.EdgeService}
2022-10-20 22:42:58.423 28072-28072/? V/GraphicsEnvironment: ANGLE Developer option for 'ai.fedml.edgedemo' set to: 'default'
2022-10-20 22:42:58.424 28072-28072/? V/GraphicsEnvironment: ANGLE GameManagerService for ai.fedml.edgedemo: false
2022-10-20 22:42:58.428 28072-28072/? I/FedEdgeManager: init ai.fedml.edgedemo:edge
2022-10-20 22:42:58.528 16214-28106/? I/okhttp.OkHttpClient: --> GET https://open.fedml.ai/fedmlOpsServer/edges/device?id=e55e8a3f1c15e441
2022-10-20 22:42:58.618 1131-1448/? I/ActivityTaskManager: Displayed ai.fedml.edgedemo/.MainActivity: +426ms
2022-10-20 22:42:58.629 3842-3842/? I/GoogleInputMethodService: GoogleInputMethodService.onStartInput():1876 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=ai.fedml.edgedemo fieldId=-1 fieldName=null extras=null}, false)
2022-10-20 22:42:58.853 1131-9207/? W/InputManager-JNI: Input channel object 'b43b8b9 Splash Screen ai.fedml.edgedemo (client)' was disposed without first being removed with the input manager!
2022-10-20 22:42:59.141 16214-28106/? I/okhttp.OkHttpClient: <-- 200 https://open.fedml.ai/fedmlOpsServer/edges/device?id=e55e8a3f1c15e441 (612ms)
2022-10-20 22:42:59.149 16214-16214/? D/FedML-Mobile-Client: [@device-id-11309][thread-2](RequestManager.java:1): getUserInfo onResponse=== Response{protocol=h2, code=200, message=, url=https://open.fedml.ai/fedmlOpsServer/edges/device?id=e55e8a3f1c15e441}
2022-10-20 22:42:59.193 1131-13026/? D/ConnectivityService: requestNetwork for uid/pid:10449/16214 activeRequest: null callbackRequest: 2304 [NetworkRequest [ REQUEST id=2305, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10449 RequestorUid: 10449 RequestorPkg: ai.fedml.edgedemo] ]] callback flags: 0 priority: 2147483647
2022-10-20 22:42:59.199 1131-2018/? D/WifiNetworkFactory: got request NetworkRequest [ REQUEST id=2305, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10449 RequestorUid: 10449 RequestorPkg: ai.fedml.edgedemo] ]
2022-10-20 22:42:59.199 2587-2587/? D/PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ REQUEST id=2305, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10449 RequestorUid: 10449 RequestorPkg: ai.fedml.edgedemo] ]
2022-10-20 22:42:59.199 1131-2018/? D/UntrustedWifiNetworkFactory: got request NetworkRequest [ REQUEST id=2305, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10449 RequestorUid: 10449 RequestorPkg: ai.fedml.edgedemo] ]
2022-10-20 22:42:59.199 1131-2018/? D/OemPaidWifiNetworkFactory: got request NetworkRequest [ REQUEST id=2305, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10449 RequestorUid: 10449 RequestorPkg: ai.fedml.edgedemo] ]
2022-10-20 22:42:59.814 28072-28072/? D/FedML-Mobile-Client: [@device-id-11309][thread-2](EdgeService.java:5): onCreate privatePath:/storage/emulated/0/ai.fedml/device_1/user_0

Guia do colaborador