Upload model
Browse files- config.json +1 -1
- configuration_resnet.py +1 -1
config.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
6,
|
| 18 |
3
|
| 19 |
],
|
| 20 |
-
"model_type": "
|
| 21 |
"num_classes": 1000,
|
| 22 |
"stem_type": "deep",
|
| 23 |
"stem_width": 32,
|
|
|
|
| 17 |
6,
|
| 18 |
3
|
| 19 |
],
|
| 20 |
+
"model_type": "resnet_lxc2",
|
| 21 |
"num_classes": 1000,
|
| 22 |
"stem_type": "deep",
|
| 23 |
"stem_width": 32,
|
configuration_resnet.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
from transformers import PretrainedConfig
|
| 2 |
from typing import List
|
| 3 |
|
| 4 |
-
|
| 5 |
class ResnetConfig(PretrainedConfig):
|
| 6 |
model_type = "resnet_lxc2"
|
| 7 |
|
|
|
|
| 1 |
from transformers import PretrainedConfig
|
| 2 |
from typing import List
|
| 3 |
|
| 4 |
+
print('loading reset config lxc2...')
|
| 5 |
class ResnetConfig(PretrainedConfig):
|
| 6 |
model_type = "resnet_lxc2"
|
| 7 |
|