Traceback (most recent call last):
File "/home/jui/.cache/bazel/_bazel_jui/6be0c55f2c2ec3b2dd0eade5c0ad91be/execroot/org_federated_research/bazel-out/k8-opt/bin/optimization/trainer.runfiles/org_federated_research/optimization/trainer.py", line 31, in <module>
from optimization import fed_avg_schedule
File "/home/jui/.cache/bazel/_bazel_jui/6be0c55f2c2ec3b2dd0eade5c0ad91be/execroot/org_federated_research/bazel-out/k8-opt/bin/optimization/trainer.runfiles/org_federated_research/optimization/fed_avg_schedule.py", line 37, in <module>
ModelBuilder = Callable[[], tff.learning.Model]
AttributeError: module 'tensorflow_federated' has no attribute 'learning'
And Error2:
Traceback (most recent call last):
File "/home/jui/.cache/bazel/_bazel_jui/6be0c55f2c2ec3b2dd0eade5c0ad91be/execroot/org_federated_research/bazel-out/k8-opt/bin/optimization/trainer.runfiles/org_federated_research/optimization/trainer.py", line 32, in <module>
from utils import task_utils
File "/home/jui/.cache/bazel/_bazel_jui/6be0c55f2c2ec3b2dd0eade5c0ad91be/execroot/org_federated_research/bazel-out/k8-opt/bin/optimization/trainer.runfiles/org_federated_research/utils/task_utils.py", line 25, in <module>
tff.simulation.baselines.cifar100.create_image_classification_task,
AttributeError: module 'tensorflow_federated' has no attribute 'simulation'
And here is the output of pip freeze of my virtual env:
I suspect these errors are due to package version differences. However, I am unable to find the exact package that's causing the errors. Also, I'm using tensorflow-federated-nightly==0.19.0.dev20210901 as suggested in other issues.
Hi, I am currently trying to run :
The Error I get is:
And Error2:
And here is the output of
pip freeze
of my virtual env:I suspect these errors are due to package version differences. However, I am unable to find the exact package that's causing the errors. Also, I'm using
tensorflow-federated-nightly==0.19.0.dev20210901
as suggested in other issues.