Tim77777767
commited on
Commit
·
18749b6
1
Parent(s):
c11dc36
Anpassungen configs
Browse files- config.json +1 -1
- mix_vision_transformer_config.py +1 -1
config.json
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
"out_indices": [0, 1, 2, 3],
|
17 |
"num_classes": 19,
|
18 |
"decode_head": {
|
19 |
-
"in_channels": [
|
20 |
"in_index": [0, 1, 2, 3],
|
21 |
"channels": 256,
|
22 |
"dropout_ratio": 0.1,
|
|
|
16 |
"out_indices": [0, 1, 2, 3],
|
17 |
"num_classes": 19,
|
18 |
"decode_head": {
|
19 |
+
"in_channels": [64, 128, 320, 512],
|
20 |
"in_index": [0, 1, 2, 3],
|
21 |
"channels": 256,
|
22 |
"dropout_ratio": 0.1,
|
mix_vision_transformer_config.py
CHANGED
@@ -43,7 +43,7 @@ class MySegformerConfig(PretrainedConfig):
|
|
43 |
# optionaler Block für Head-Config (falls decode_head nicht übergeben wurde)
|
44 |
if decode_head is None:
|
45 |
decode_head = {
|
46 |
-
"in_channels":
|
47 |
"in_index": list(range(self.num_stages)),# [0, 1, 2, 3]
|
48 |
"channels": 256,
|
49 |
"dropout_ratio": 0.1,
|
|
|
43 |
# optionaler Block für Head-Config (falls decode_head nicht übergeben wurde)
|
44 |
if decode_head is None:
|
45 |
decode_head = {
|
46 |
+
"in_channels": [64, 128, 320, 512], # [32, 64, 160, 256]
|
47 |
"in_index": list(range(self.num_stages)),# [0, 1, 2, 3]
|
48 |
"channels": 256,
|
49 |
"dropout_ratio": 0.1,
|