Code Monkey home page Code Monkey logo

chainsfl-implementation's Introduction

Hi there 👋, I'm Shuo Yuan!

  • 🔭 I'm currently working on MI3M, BUPT.
  • 🌱 I'm currently interested in the Integrated Satellite-Terrestrial Networks.
  • 📫 How to reach me: yuanshuo [at] bupt [dot] edu [dot] cn.

chainsfl-implementation's People

Contributors

shuoyuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chainsfl-implementation's Issues

请问下该项目是否使用了链码

我在项目文件中并没有看到以chaincode所命名的文件,所有节点的交互似乎都是使用IPFS进行模型传输,想要确认下是否该项目功能实现不需要链码,亦或是我没有看到该文件。

你好,按README的Run one shard操作,报错如下请问是什么原因呢?Thanks(已修改dag server真实ip地址)

(fl) E:\Labs\FL\ChainsFL-implementation\dagMainChain>python clientRun.py --epochs 1 --frac 0.1 --gpu -1 --model cnn --num_channels 1
D:\Users\fzhiy\anaconda3\envs\fl\lib\site-packages\torchvision\datasets\mnist.py:48: UserWarning: train_labels has been renamed targets
warnings.warn("train_labels has been renamed targets")
The para of iid is False


CNNMnist(
(conv1): Conv2d(1, 10, kernel_size=(5, 5), stride=(1, 1))
(conv2): Conv2d(10, 20, kernel_size=(5, 5), stride=(1, 1))
(conv2_drop): Dropout2d(p=0.5, inplace=False)
(fc1): Linear(in_features=320, out_features=50, bias=True)
(fc2): Linear(in_features=50, out_features=10, bias=True)
)


Exception in thread Thread-2:
Traceback (most recent call last):
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\subprocess.py", line 1083, in _readerthread
buffer.append(fh.read())
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 4: invalid continuation byte

Traceback (most recent call last):
File "clientRun.py", line 466, in
main('xx.xx.xx.xx')
File "clientRun.py", line 174, in main
dictUserGetStatus, dictUsersttCodeGet = usefulTools.ipfsGetFile(dict_userf_fileHash, dict_users_file)
File "../commonComponent\usefulTools.py", line 22, in ipfsGetFile
outs, errs = ipfsGet.communicate(timeout=10)
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\subprocess.py", line 863, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "D:\Users\fzhiy\anaconda3\envs\fl\lib\subprocess.py", line 1135, in _communicate
stderr = stderr[0]
IndexError: list index out of range

不好意思,能问一下ipfs上面要下载的第一个pkl文件的事吗

就是哈希值为QmTZqGKUEvD5F8vQyEEJLJB7rzX17tpnN2Uu4YWBRZEYQx的文件。
看了一下好像这个文件要从ipfs系统里面下载下来,但是好像文件丢失下载不到了。往ipfs里上传下载其他文件都是可以的。
还是说这个文件在别的地方我没找到,或者是要我自己弄一个呀。
RY {A6UL_){ 7T WG@NHL1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.