rachelxuan11 / flame Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
traceback like this:
python generate_data.py
[6903, 7877, 6990, 7141, 6824, 6313, 6876, 7293, 6825, 6958]
Assign samples to each user
Traceback (most recent call last):
File "/Users/aaaa/miniconda3/envs/FLAME-master/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "generate_data.py", line 47, in
X[user].append(mnist_data[l][idx[l]].tolist())
File "/Users/aaa/miniconda3/envs/FLAME-master/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in getitem
indexer = self.columns.get_loc(key)
File "/Users/aaa/miniconda3/envs/FLAME-master/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 0
最近在做混洗模型的差分隐私联邦学习,想先学习下前辈的模型,运行时发生了问题,数据集处理时报错,能帮忙看看这是为什么嘛
前辈您好,最近我在阅读您的这篇论文,在代码复现的过程中这个地方一直报错,请问有没有什么好的解决办法?或者请问能否将数据文件上传共享?
D:\Anaconda3\envs\ShuffleFL\python.exe D:/Codes/python/differential_privacy/FLAME/generate_data.py
[6903, 7877, 6990, 7141, 6824, 6313, 6876, 7293, 6825, 6958]
Assign samples to each user
Traceback (most recent call last):
File "D:\Anaconda3\envs\ShuffleFL\lib\site-packages\pandas\core\indexes\base.py", line 2898, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 1675, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 1683, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 0
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:/Codes/python/differential_privacy/FLAME/generate_data.py", line 47, in
X[user].append(mnist_data[l][idx[l]].tolist())
File "D:\Anaconda3\envs\ShuffleFL\lib\site-packages\pandas\core\frame.py", line 2906, in getitem
indexer = self.columns.get_loc(key)
File "D:\Anaconda3\envs\ShuffleFL\lib\site-packages\pandas\core\indexes\base.py", line 2900, in get_loc
raise KeyError(key) from err
KeyError: 0
Process finished with exit code 1
--mechanism='guassian' -> 'gaussian'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.