Upload 3 files
Browse files- README.md +12 -1
- config.json +33 -0
- pytorch_model.bin +3 -0
README.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- timm
|
5 |
+
library_tag: timm
|
6 |
+
datasets:
|
7 |
+
- competitions/aiornot
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
---
|
11 |
+
# Model card for kgmann/ai-image-det-resnet18
|
12 |
+
|
13 |
+
This is a small **resnet18** pretrained model, fine-tuned for 5 epochs on 80% of the [AI or Not dataset](https://huggingface.co/datasets/competitions/aiornot) and evaluated on the remaining 20% of the training dataset.
|
14 |
+
It has an **accuracy of 99%** on the validation dataset.
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"url": "https://download.pytorch.org/models/resnet18-5c106cde.pth",
|
3 |
+
"num_classes": 2,
|
4 |
+
"input_size": [
|
5 |
+
3,
|
6 |
+
224,
|
7 |
+
224
|
8 |
+
],
|
9 |
+
"pool_size": [
|
10 |
+
7,
|
11 |
+
7
|
12 |
+
],
|
13 |
+
"crop_pct": 0.875,
|
14 |
+
"interpolation": "bilinear",
|
15 |
+
"mean": [
|
16 |
+
0.485,
|
17 |
+
0.456,
|
18 |
+
0.406
|
19 |
+
],
|
20 |
+
"std": [
|
21 |
+
0.229,
|
22 |
+
0.224,
|
23 |
+
0.225
|
24 |
+
],
|
25 |
+
"first_conv": "conv1",
|
26 |
+
"classifier": "fc",
|
27 |
+
"architecture": "resnet18",
|
28 |
+
"num_features": 512,
|
29 |
+
"labels": [
|
30 |
+
"Not AI",
|
31 |
+
"AI"
|
32 |
+
]
|
33 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f387bf4d6cfa51929f126ca37ce8f82110cddd02f436e9020872c99f8a2b8c5b
|
3 |
+
size 44790261
|