miguelcarv
commited on
Commit
•
d043739
1
Parent(s):
302b341
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-152",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
8,
|
9 |
+
36,
|
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:3d51dd120a2207ecff06b547537d2d7c1bdd611ac55da4c0717f6042a195e12d
|
3 |
+
size 233321808
|