alshedivat / alshedivat/fedpa

No module named 'jax.api'

未關閉
#1 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jupyter Notebook
星號
50
分支
15
PR 合併指標
30 天內沒有已合併 PR

描述

Hello, thanks for your great contribution to expand FL to Bayesian filed.
I'm not familiar with the jax frame of google. When I tried to run the notebook on the colab, i met this error:
"No module named 'jax.api"
Seems that the jax.api has been removed.
```
ModuleNotFoundError Traceback (most recent call last)
[](https://localhost:8080/#) in ()
----> 1 from federated.objectives.quadratic import *
2 from federated.learning.algorithms import *
3 from federated.inference.moments import *
4 from federated.inference.optimization import *
5 from federated.inference.sampling import *

1 frames
[/content/federated/objectives/quadratic.py](https://localhost:8080/#) in ()
21 import jax.numpy as jnp
22 import numpy as np
---> 23 from jax.api import jit
24 from sklearn import datasets
25

ModuleNotFoundError: No module named 'jax.api'
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。