Skip to content

Commit

Permalink
fl tl acc loss tracking done
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasIshfaque committed Jun 10, 2024
1 parent da92b64 commit 2e2422b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@
"name": "stdout",
"output_type": "stream",
"text": [
"{'0': 'malignant', '1': 'normal, benign'}\n",
"Using downloaded and verified file: /home/anas/.medmnist/breastmnist_128.npz\n",
"Using downloaded and verified file: /home/anas/.medmnist/breastmnist_128.npz\n"
"{'0': 'normal', '1': 'pneumonia'}\n",
"Using downloaded and verified file: /home/anas/.medmnist/pneumoniamnist_128.npz\n",
"Using downloaded and verified file: /home/anas/.medmnist/pneumoniamnist_128.npz\n"
]
}
],
Expand Down Expand Up @@ -652,52 +652,52 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Conntected with ('192.168.0.160', 39624)\n",
"Conntected with ('192.168.0.114', 53542)\n",
"Conntected with ('192.168.0.148', 41548)\n",
"Conntected with ('192.168.0.137', 36536)\n",
"Conntected with ('192.168.0.160', 42036)\n",
"Conntected with ('192.168.0.114', 36836)\n",
"Conntected with ('192.168.0.137', 39222)\n",
"Conntected with ('192.168.0.148', 34072)\n",
"timmer start!\n",
"User2's Round 1 is doneUser3's Round 1 is done\n",
"\n",
"User2's Round 1 is done\n",
"User1's Round 1 is done\n",
"User0's Round 1 is done\n",
"User3's Round 2 is done\n",
"User3's Round 1 is done\n",
"User2's Round 2 is done\n",
"User1's Round 2 is done\n",
"User0's Round 2 is done\n",
"User3's Round 3 is done\n",
"User3's Round 2 is done\n",
"User2's Round 3 is done\n",
"User1's Round 3 is done\n",
"User3's Round 3 is done\n",
"User0's Round 3 is done\n",
"User3's Round 4 is done\n",
"User2's Round 4 is done\n",
"User1's Round 4 is done\n",
"User3's Round 4 is done\n",
"User0's Round 4 is done\n",
"User2's Round 5 is done\n",
"User3's Round 5 is done\n",
"User1's Round 5 is done\n",
"User0's Round 5 is done\n",
"User3's Round 6 is done\n",
"User3's Round 5 is done\n",
"User2's Round 6 is done\n",
"User1's Round 6 is done\n",
"User0's Round 6 is done\n",
"User3's Round 7 is done\n",
"User3's Round 6 is done\n",
"User2's Round 7 is done\n",
"User1's Round 7 is done\n",
"User3's Round 7 is done\n",
"User0's Round 7 is done\n",
"User2's Round 8 is done\n",
"User3's Round 8 is done\n",
"User1's Round 8 is done\n",
"User3's Round 8 is done\n",
"User0's Round 8 is done\n",
"User2's Round 9 is done\n",
"User3's Round 9 is done\n",
"User1's Round 9 is done\n",
"User0's Round 9 is done\n",
"User3's Round 10 is done\n",
"User3's Round 9 is done\n",
"User1's Round 10 is done\n",
"User2's Round 10 is done\n",
"User0's Round 10 is done\n",
"TrainingTime: 395.7805449962616 sec\n"
"User3's Round 10 is done\n",
"TrainingTime: 885.2031791210175 sec\n"
]
}
],
Expand All @@ -707,16 +707,16 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 21,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"TrainingTime: 1462.4196712970734 sec\n",
"Total aggrigation time: 0.011538267135620117 sec\n",
"Total communication time: 1467.0762729644775 sec\n"
"TrainingTime: 885.2069606781006 sec\n",
"Total aggrigation time: 0.009710550308227539 sec\n",
"Total communication time: 2834.525616645813 sec\n"
]
}
],
Expand All @@ -736,7 +736,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 22,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -876,29 +876,29 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 23,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Accuracy: 0.7941\n",
"Precision: 0.7440\n",
"Recall: 0.6822\n",
"F1: 0.7006\n",
"Accuracy: 0.9100\n",
"Precision: 0.8519\n",
"Recall: 0.9081\n",
"F1: 0.8748\n",
"Confusion Matrix: \n",
"tensor([[ 4, 5],\n",
" [ 2, 23]])\n",
"Train Accuracy: 82.23%, Train Loss: 0.3908\n",
"Accuracy: 0.8590\n",
"Precision: 0.8583\n",
"Recall: 0.7682\n",
"F1: 0.7974\n",
"tensor([[19, 2],\n",
" [ 7, 72]])\n",
"Train Accuracy: 89.91%, Train Loss: 0.2506\n",
"Accuracy: 0.9018\n",
"Precision: 0.8929\n",
"Recall: 0.8968\n",
"F1: 0.8947\n",
"Confusion Matrix: \n",
"tensor([[ 24, 18],\n",
" [ 4, 110]])\n",
"Test Accuracy: 85.90%, Test Loss: 0.3344\n"
"tensor([[36, 5],\n",
" [ 6, 65]])\n",
"Test Accuracy: 89.42%, Test Loss: 0.2561\n"
]
}
],
Expand All @@ -921,7 +921,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 24,
"metadata": {},
"outputs": [
{
Expand Down
Binary file modified Fed_Trans_learning/MedMNIST/pneumoniamnist_fd_SqueezeNet.pth
Binary file not shown.

0 comments on commit 2e2422b

Please sign in to comment.