anhquancao
commited on
Commit
•
bf033f8
1
Parent(s):
3439beb
add model
Browse files- config.json +0 -14
- monoscene_model.py +1 -0
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -6,10 +6,6 @@
|
|
6 |
"AutoConfig": "config.MonoSceneConfig",
|
7 |
"AutoModel": "monoscene_model.MonoSceneModel"
|
8 |
},
|
9 |
-
"avg_down": false,
|
10 |
-
"base_width": 64,
|
11 |
-
"block_type": "bottleneck",
|
12 |
-
"cardinality": 1,
|
13 |
"dataset": "kitti",
|
14 |
"feature": 64,
|
15 |
"full_scene_size": [
|
@@ -17,18 +13,8 @@
|
|
17 |
256,
|
18 |
32
|
19 |
],
|
20 |
-
"input_channels": 3,
|
21 |
-
"layers": [
|
22 |
-
3,
|
23 |
-
4,
|
24 |
-
6,
|
25 |
-
3
|
26 |
-
],
|
27 |
"n_classes": 20,
|
28 |
-
"num_classes": 1000,
|
29 |
"project_scale": 2,
|
30 |
-
"stem_type": "",
|
31 |
-
"stem_width": 64,
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.20.1"
|
34 |
}
|
|
|
6 |
"AutoConfig": "config.MonoSceneConfig",
|
7 |
"AutoModel": "monoscene_model.MonoSceneModel"
|
8 |
},
|
|
|
|
|
|
|
|
|
9 |
"dataset": "kitti",
|
10 |
"feature": 64,
|
11 |
"full_scene_size": [
|
|
|
13 |
256,
|
14 |
32
|
15 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"n_classes": 20,
|
|
|
17 |
"project_scale": 2,
|
|
|
|
|
18 |
"torch_dtype": "float32",
|
19 |
"transformers_version": "4.20.1"
|
20 |
}
|
monoscene_model.py
CHANGED
@@ -12,6 +12,7 @@ class MonoSceneModel(PreTrainedModel):
|
|
12 |
dataset=config.dataset,
|
13 |
n_classes=config.n_classes,
|
14 |
feature=config.feature,
|
|
|
15 |
project_scale=config.project_scale,
|
16 |
full_scene_size=config.full_scene_size
|
17 |
)
|
|
|
12 |
dataset=config.dataset,
|
13 |
n_classes=config.n_classes,
|
14 |
feature=config.feature,
|
15 |
+
project_res=['1', '2', '4', '8'],
|
16 |
project_scale=config.project_scale,
|
17 |
full_scene_size=config.full_scene_size
|
18 |
)
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 600200087
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5875a00b6434c4b31dfb04f50f7fd48e93fdff0b8f13ba0b1539b7b2f3743adb
|
3 |
size 600200087
|