You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在client.py和server.py中都引用了from utils import sampling模块,但在utils文件下的几个文件中都没有关于sampling的定义,以致于报错 File "E:\FHElibrary\FedPHE-main\main.py", line 11, in
from fed import run #包含run函数的自定义模块
File "E:\FHElibrary\FedPHE-main\fed.py", line 10, in
from server import server_process
File "E:\FHElibrary\FedPHE-main\server.py", line 21, in
from utils import sampling
ImportError: cannot import name 'sampling' from 'utils' (unknown location)
请问这个应该怎么解决?
The text was updated successfully, but these errors were encountered:
在client.py和server.py中都引用了from utils import sampling模块,但在utils文件下的几个文件中都没有关于sampling的定义,以致于报错 File "E:\FHElibrary\FedPHE-main\main.py", line 11, in
from fed import run #包含run函数的自定义模块
File "E:\FHElibrary\FedPHE-main\fed.py", line 10, in
from server import server_process
File "E:\FHElibrary\FedPHE-main\server.py", line 21, in
from utils import sampling
ImportError: cannot import name 'sampling' from 'utils' (unknown location)
请问这个应该怎么解决?
The text was updated successfully, but these errors were encountered: