alshedivat / alshedivat/fedpa

No module named 'jax.api'

Đang mở
#1 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
50
Fork
15
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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'
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.