Reputation: 61
The following error occurred while running "https://github.com/tensorflow/federated/blob/master/tensorflow_federated/python/research/gans/experiments/emnist/run_experiments.py" (I am attempting to regenerate the results of the paper):
ModuleNotFoundError: No module named 'tensorflow_federated.python.research'
It will be appreciated if you could give me some suggestions.
Upvotes: 1
Views: 1294
Reputation: 2941
This research project follows the TensorFlow Federated practice of using the bazel build system. The python scripts cannot be run directly.
After installing bazel, try the following commandline:
$ bazel run \
tensorflow_federated/python/research/gans/experiments/emnist:run_experiments
Upvotes: 2