Compare commits

...

2 Commits

Author SHA1 Message Date
myh
8cd6df4527 数据集测试样例配置 2025-04-21 22:27:19 +08:00
myh
132ed64136 数据集测试样例 2025-04-21 22:26:52 +08:00
15 changed files with 17 additions and 2 deletions

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -0,0 +1,2 @@
0 0.5375 0.37395833333333334 0.253125 0.16458333333333333
0 0.2890625 0.5833333333333334 0.196875 0.1125

View File

@ -0,0 +1 @@
0 0.36328125 0.525 0.7109375 0.8083333333333333

View File

@ -0,0 +1,4 @@
train: images
val: ../val
nc: 1
names: ['uav']

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@ -0,0 +1 @@
0 0.6934895833333333 0.6527777777777778 0.008854166666666666 0.018518518518518517

View File

@ -0,0 +1 @@
0 0.423698 0.593519 0.061979 0.029630

View File

@ -0,0 +1,4 @@
train: images
val: ../val
nc: 1
names: ['uav']

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1 @@
0 0.5109375 0.5322916666666667 0.125 0.13958333333333334

View File

@ -0,0 +1 @@
0 0.55078125 0.296875 0.0890625 0.08958333333333333

View File

@ -113,8 +113,8 @@ def federated_train(num_rounds, clients_data):
if __name__ == "__main__":
# 联邦训练配置
clients_config = [
"./config/client1_data.yaml", # 客户端1数据路径
"./config/client2_data.yaml" # 客户端2数据路径
"../dataset/train1/train1.yaml", # 客户端1数据路径
"../dataset/train2/train2.yaml" # 客户端2数据路径
]
# 运行联邦训练