克隆fedml库
1 | git clone https://github.com/FedML-AI/FedML.git |
- 参阅源码
- 参考样例,测试环境
- FedML/iot/anomaly_detection_for_cybersecurity FedML/python/setup.py
1 | git clone https://github.com/FedML-AI/FedML.git |
1 | 错误:为 repo 'appstream' 下载元数据失败 : Cannot prepare internal mirrorlist: No URLs in mirrorlist |
1 | sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* |
1 | lspci | grep -i vga |
IPFS is a peer-to-peer distributed file system that enables distributed computing devices to connect with the same file system.
在IPFS上进行存储,区块链上存储Hash指针,用于找到文件(块大小限制)
在神经网络的中间层添加噪声(ε, δ)-differential,cnn全连接层作为噪声提取器
第一次启动CA时,它查找fabric-ca-server-config.yaml文件,其中包含CA配置参数。
1 | version: '3.7' |
1 | peer lifecycle chaincode package fedfab.tar.gz \ |
在当前目录生成了fedfab.tar.gz文件
1 | docker cp cli0:/opt/gopath/src/github.com/hyperledger/fabric/peer/fedfab.tar.gz ./ |
计划配置一个4个节点的网络,三个节点模拟IOT设备,一个代表公司节点
1 | cd fabric-samples/bin |
1 | sudo apt install docker-compose |
1 | ## 创建docker组 |
1 | wget https://golang.google.cn/dl/go1.19.linux-amd64.tar.gz |