Upload ResNetForImageClassification
Browse files- README.md +1 -1
- config.json +41 -0
- model.safetensors +3 -0
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- pytorch_model_hub_mixin
|
4 |
- model_hub_mixin
|
5 |
-
pipeline_tag: image-classification
|
6 |
---
|
7 |
|
8 |
This model has been pushed to the Hub using ****:
|
|
|
1 |
---
|
2 |
+
pipeline_tag: image-classification
|
3 |
tags:
|
4 |
- pytorch_model_hub_mixin
|
5 |
- model_hub_mixin
|
|
|
6 |
---
|
7 |
|
8 |
This model has been pushed to the Hub using ****:
|
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.43.2"
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:395c9bad9e1e97677211d8f26acae5d54b5e40d98729463c1aa113a965c51f16
|
3 |
+
size 94302952
|