miguelcarv
commited on
Commit
•
b24094a
1
Parent(s):
d189b32
Upload ResNetForImageClassification
Browse files- config.json +41 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
4,
|
9 |
+
6,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"downsample_in_bottleneck": false,
|
13 |
+
"downsample_in_first_stage": false,
|
14 |
+
"embedding_size": 64,
|
15 |
+
"hidden_act": "relu",
|
16 |
+
"hidden_sizes": [
|
17 |
+
256,
|
18 |
+
512,
|
19 |
+
1024,
|
20 |
+
2048
|
21 |
+
],
|
22 |
+
"layer_type": "bottleneck",
|
23 |
+
"model_type": "resnet",
|
24 |
+
"num_channels": 3,
|
25 |
+
"out_features": [
|
26 |
+
"stage4"
|
27 |
+
],
|
28 |
+
"out_indices": [
|
29 |
+
4
|
30 |
+
],
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"stage_names": [
|
33 |
+
"stem",
|
34 |
+
"stage1",
|
35 |
+
"stage2",
|
36 |
+
"stage3",
|
37 |
+
"stage4"
|
38 |
+
],
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.36.2"
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62270753a975012949d06b8bf35e6a0a68126023a1066ac7dac50c36a6b201cb
|
3 |
+
size 94302952
|