Compare commits
2 Commits
be1e3627e7
...
8cd6df4527
Author | SHA1 | Date | |
---|---|---|---|
8cd6df4527 | |||
132ed64136 |
BIN
dataset/train1/images/6.jpg
Normal file
BIN
dataset/train1/images/6.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 KiB |
BIN
dataset/train1/images/7.jpg
Normal file
BIN
dataset/train1/images/7.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 97 KiB |
2
dataset/train1/labels/6.txt
Normal file
2
dataset/train1/labels/6.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
0 0.5375 0.37395833333333334 0.253125 0.16458333333333333
|
||||||
|
0 0.2890625 0.5833333333333334 0.196875 0.1125
|
1
dataset/train1/labels/7.txt
Normal file
1
dataset/train1/labels/7.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 0.36328125 0.525 0.7109375 0.8083333333333333
|
4
dataset/train1/train1.yaml
Normal file
4
dataset/train1/train1.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
train: images
|
||||||
|
val: ../val
|
||||||
|
nc: 1
|
||||||
|
names: ['uav']
|
BIN
dataset/train2/images/000007.JPG
Normal file
BIN
dataset/train2/images/000007.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 136 KiB |
BIN
dataset/train2/images/02.png
Normal file
BIN
dataset/train2/images/02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 MiB |
1
dataset/train2/labels/000007.txt
Normal file
1
dataset/train2/labels/000007.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 0.6934895833333333 0.6527777777777778 0.008854166666666666 0.018518518518518517
|
1
dataset/train2/labels/02.txt
Normal file
1
dataset/train2/labels/02.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 0.423698 0.593519 0.061979 0.029630
|
4
dataset/train2/train2.yaml
Normal file
4
dataset/train2/train2.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
train: images
|
||||||
|
val: ../val
|
||||||
|
nc: 1
|
||||||
|
names: ['uav']
|
BIN
dataset/val/images/VS_P65.jpg
Normal file
BIN
dataset/val/images/VS_P65.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
BIN
dataset/val/images/VS_P66.jpg
Normal file
BIN
dataset/val/images/VS_P66.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
1
dataset/val/labels/VS_P65.txt
Normal file
1
dataset/val/labels/VS_P65.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 0.5109375 0.5322916666666667 0.125 0.13958333333333334
|
1
dataset/val/labels/VS_P66.txt
Normal file
1
dataset/val/labels/VS_P66.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0 0.55078125 0.296875 0.0890625 0.08958333333333333
|
@ -113,8 +113,8 @@ def federated_train(num_rounds, clients_data):
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# 联邦训练配置
|
# 联邦训练配置
|
||||||
clients_config = [
|
clients_config = [
|
||||||
"./config/client1_data.yaml", # 客户端1数据路径
|
"../dataset/train1/train1.yaml", # 客户端1数据路径
|
||||||
"./config/client2_data.yaml" # 客户端2数据路径
|
"../dataset/train2/train2.yaml" # 客户端2数据路径
|
||||||
]
|
]
|
||||||
|
|
||||||
# 运行联邦训练
|
# 运行联邦训练
|
||||||
|
Loading…
Reference in New Issue
Block a user