google-parfait / tensorflow-federated

An open-source framework for machine learning and other computations on decentralized data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tensorflow federated (tff): TypeError of unhashable type 'list'.

deepquantum88 opened this issue · comments

I am working on my linux ubuntu system.

I have installed python 3.9.0, TensorFlow 2.11.0, TFF=0.52.0

I am looking to implement tff + differential privacy (https://www.tensorflow.org/federated/tutorials/federated_learning_with_differential_privacy) on my system. Although it works fine on colab.

On my system, when i import the libraries (TFF). I throws a TypeError of unhashable type 'list'.

Even i tried to check lower version of TFF and versions>0.52.0. But it remains same.

I cannot run on colab because i have other dependencies also. So I want to install and run the things on my system only.
Can you please help in this.

I had the same problem some days before with Python 3.9.0 and Tensorflow 2.16, I solved it by upgrading the Python version to 3.12
It can help you with the problem if you haven't solved it until now.