Comments (4)
This may come from different versions of python maybe you are using 3.8. In the old version of python, 'np.bool_' can be scaled to be interpreted as an index. I will update the code later. You can download the dataset on google driver at this moment.
from pfedme.
My Python version is 3.6.12
๐
from pfedme.
This maybe of further help:
Package Version
-------------------- -------------------
absl-py 0.11.0
appnope 0.1.2
argon2-cffi 20.1.0
astor 0.8.1
async-generator 1.10
attrs 20.3.0
backcall 0.2.0
bleach 3.2.3
cached-property 1.5.2
certifi 2020.12.5
cffi 1.14.4
cycler 0.10.0
dataclasses 0.8
decorator 4.4.2
defusedxml 0.6.0
entrypoints 0.3
gast 0.4.0
grpcio 1.35.0
h5py 3.1.0
importlib-metadata 3.4.0
ipykernel 5.4.3
ipython 7.16.1
ipython-genutils 0.2.0
ipywidgets 7.6.3
jedi 0.18.0
Jinja2 2.11.2
joblib 1.0.1
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.1.11
jupyter-console 6.2.0
jupyter-core 4.7.0
jupyterlab-pygments 0.1.2
jupyterlab-widgets 1.0.0
Keras-Applications 1.0.8
Keras-Preprocessing 1.1.2
kiwisolver 1.3.1
Markdown 3.3.3
MarkupSafe 1.1.1
matplotlib 3.3.3
mistune 0.8.4
mock 4.0.3
nbclient 0.5.1
nbconvert 6.0.7
nbformat 5.1.2
nest-asyncio 1.4.3
notebook 6.2.0
numpy 1.16.4
packaging 20.8
pandas 1.1.5
pandocfilters 1.4.3
parso 0.8.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.1.0
pip 21.0
prometheus-client 0.9.0
prompt-toolkit 3.0.14
protobuf 3.14.0
ptyprocess 0.7.0
pycparser 2.20
Pygments 2.7.4
pyparsing 2.4.7
pyrsistent 0.17.3
python-dateutil 2.8.1
pytz 2020.5
pyzmq 21.0.2
qtconsole 5.0.2
QtPy 1.9.0
scikit-learn 0.24.1
scipy 1.5.4
Send2Trash 1.5.0
setuptools 49.6.0.post20210108
six 1.15.0
tensorboard 1.13.1
tensorflow 1.13.1
tensorflow-estimator 1.13.0
termcolor 1.1.0
terminado 0.9.2
testpath 0.4.4
threadpoolctl 2.1.0
torch 1.8.1
torchvision 0.9.1
tornado 6.1
tqdm 4.59.0
traitlets 4.3.3
typing-extensions 3.7.4.3
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 1.0.1
wheel 0.36.2
widgetsnbextension 3.5.1
zipp 3.4.0
from pfedme.
I think one solution is you can convert False to 0 and True to 1. I am not sure which environment causes the error.
from pfedme.
Related Issues (19)
- Experiment image
- why train loss will be nan? HOT 1
- pfedme Optimizer Probelem HOT 6
- In the Per-FedAvg experiments, there is always an unignorable gap between the accuracy of the actual experimental results and the expected accuracy provided under the same conditions. HOT 5
- Something maybe wrong in data/mnist/generate_niid_20users.py HOT 1
- Some mistakes in generating niid mnist data HOT 11
- Client's train method HOT 2
- A question in PerAvg algorithm HOT 1
- Question about pFedMeOptimizer. HOT 2
- About the Hessian Approximation
- Hello author, why did Loss become Nan after more than a dozen rounds of training๏ผ
- some questions about the results HOT 1
- UserpFedMe class HOT 4
- A question about train_one_step() method. HOT 3
- Some questions about your peper and your code HOT 2
- Why does FedAvg only train on 1 batch in each local epoch? HOT 2
- Cifar-10 running error HOT 1
- Is Per-FedAvg implemented properly? HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pfedme.