behavert / oft-behavior /config.json
ShinSeungJ's picture
Release BehaVERT checkpoints
204768a verified
Raw History Blame Contribute Delete
3.64 kB
{
"input_dim": 22,
"num_classes": 7,
"mode": "token",
"max_seq_length": 64,
"hidden_size": 768,
"num_layers": 12,
"num_heads": 12,
"intermediate_size": 3072,
"positional_encoding": "sinusoidal",
"embedding_dropout": 0.0,
"classifier_dropout": 0.1,
"head_hidden": 0,
"problem": "classification",
"max_position_embeddings": 512,
"label_names": [
"supported_rearing",
"unsupported_rearing",
"grooming",
"freezing",
"jumping",
"backwards_walking",
"others"
],
"keypoints": {
"dataset": "open-field test (OFT), single mouse, top view",
"num_animals": 1,
"names": [
"nose",
"left_ear",
"right_ear",
"left_forelimb",
"right_forelimb",
"tail_base",
"left_hindlimb",
"right_hindlimb",
"tail_middle",
"tail_tip",
"body_center"
],
"edges": [
[
0,
1
],
[
0,
2
],
[
1,
10
],
[
2,
10
],
[
10,
3
],
[
10,
4
],
[
10,
5
],
[
5,
6
],
[
5,
7
],
[
5,
8
],
[
8,
9
]
],
"dims": 2,
"units": "normalized",
"fps": 30,
"pose_model": "oft-pose",
"pose_indices": [
0,
1,
2,
4,
5,
6,
7,
8,
9,
10,
11
]
},
"preprocessing": {
"coordinates": "x / frame width, y / frame height; frames without a detection are linearly interpolated",
"window": 64,
"stride": 32
},
"description": "BehaVERT token model for seven open-field behaviors of a single mouse.",
"display": {
"title": "OFT",
"skeleton_title": "Skeleton",
"embedding_title": "Sequence embedding (t-SNE)",
"attention_label": "attention value",
"confidence_label": "confidence",
"truth_title": "GT behav",
"prediction_title": "Pred",
"label_overlay": "top",
"label_legend": true,
"animal_colors": [
"#FF5733"
],
"embedding": {
"perplexity_min": 2,
"max_iter": 400
},
"overlay": {
"edge_colors_bgr": [
[
38,
32,
193
],
[
38,
77,
229
],
[
35,
142,
247
],
[
21,
192,
254
],
[
110,
37,
109
],
[
160,
37,
209
],
[
68,
174,
97
],
[
176,
141,
13
],
[
97,
97,
255
],
[
176,
97,
13
],
[
120,
120,
120
]
],
"label_colors_bgr": [
[
0,
0,
255
],
[
0,
165,
255
],
[
0,
255,
255
],
[
0,
255,
0
],
[
255,
0,
0
],
[
255,
0,
255
],
[
200,
200,
200
]
],
"line_thickness": 2,
"point_radius": 3,
"point_color_bgr": [
0,
0,
0
],
"font_scale": 1.0,
"show_confidence": false
}
}
}