flower
flower copied to clipboard
ValueError in Tutorial
ValueError?
hi,when I tried your first tutorial "An Introduction to Federated Learning" in colab, an error showed up at "### Starting the training" here is the screenshot https://ppt.cc/fRA3Bx what should I do ?
@b856741 Just a guess but could you pass the 5
as int(5)
? It might also be a issue with Ray. We have seen historically a lot of breaking chances so it might also help to use a older version of Ray.
I've had the same error, I was able to fix it by using Ray 1.10.0 instead of the latest version 1.12.0.
So just run pip install -U ray==1.10.0
before running the rest of the notebook. (or simply add ray==1.10.0
to the pip install of flower)
ray==1.10.0
it works, thanks
@b856741 Just a guess but could you pass the
5
asint(5)
? It might also be a issue with Ray. We have seen historically a lot of breaking chances so it might also help to use a older version of Ray.
I haven't and dunno how to try it, but it solved by changing ray version