Initial commit for ResNet-20 model
Browse files- README.md +11 -0
- config.json +56 -0
- resnet20_weights.pth +3 -0
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ResNet-20 model for CIFAR-10
|
2 |
+
|
3 |
+
This is the repo for a custom-made neural network based on ResNet architecture that has been trained on CIFAR-10 dataset.
|
4 |
+
|
5 |
+
## Model details
|
6 |
+
|
7 |
+
- **Architecture:** ResNet
|
8 |
+
- **Input shape:** 3x32x32
|
9 |
+
- **Output classes:** 10
|
10 |
+
- **Dataset:** CIFAR-10
|
11 |
+
> More details can be found in the `config.json` file inside this repository.
|
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_architecture": {
|
3 |
+
"input_size": [
|
4 |
+
3,
|
5 |
+
32,
|
6 |
+
32
|
7 |
+
],
|
8 |
+
"num_layers": 20,
|
9 |
+
"num_classes": 10,
|
10 |
+
"architecture": "ResNet"
|
11 |
+
},
|
12 |
+
"training_parameters": {
|
13 |
+
"learning_rate": 0.0625,
|
14 |
+
"batch_size": 128,
|
15 |
+
"num_epochs": 15,
|
16 |
+
"optimizer": "SGD",
|
17 |
+
"loss_function": "CrossEntropyLoss"
|
18 |
+
},
|
19 |
+
"dataset": {
|
20 |
+
"name": "CIFAR-10",
|
21 |
+
"normalization": {
|
22 |
+
"mean": [
|
23 |
+
0.4914,
|
24 |
+
0.4822,
|
25 |
+
0.4465
|
26 |
+
],
|
27 |
+
"std": [
|
28 |
+
0.247,
|
29 |
+
0.243,
|
30 |
+
0.261
|
31 |
+
]
|
32 |
+
},
|
33 |
+
"data_augmentation": [
|
34 |
+
"RandomCrop(32, padding=4)",
|
35 |
+
"RandomHorizontalFlip()"
|
36 |
+
],
|
37 |
+
"num_examples": {
|
38 |
+
"train": 50000,
|
39 |
+
"valid": 9000,
|
40 |
+
"test": 1000
|
41 |
+
}
|
42 |
+
},
|
43 |
+
"performance": {
|
44 |
+
"accuracy": {
|
45 |
+
"train": 0.8683,
|
46 |
+
"valid": 0.8393,
|
47 |
+
"test": 0.848
|
48 |
+
}
|
49 |
+
},
|
50 |
+
"metadata": {
|
51 |
+
"author": "Sergey Polivin",
|
52 |
+
"date_trained": "2025-01-15",
|
53 |
+
"version": "v1.0",
|
54 |
+
"purpose": "Image classification on CIFAR-10"
|
55 |
+
}
|
56 |
+
}
|
resnet20_weights.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:518cabc4124a21a5f16dd0e6e7a4ccb156c4cccf46378c36034e5686844056e1
|
3 |
+
size 1139350
|