FangSen9000 commited on
Commit ·
5dc6505
1
Parent(s): 64c94cf
Pluginize the SignX component
Browse files- SignX/benchmark_results/efficiency_comparison_table.tex +0 -14
- SignX/detailed_prediction_20260101_150706/632051/analysis_report.txt +0 -43
- SignX/detailed_prediction_20260101_150706/632051/attention_heatmap.pdf +0 -0
- SignX/detailed_prediction_20260101_150706/632051/attention_keyframes/keyframes_index.txt +0 -35
- SignX/detailed_prediction_20260101_150706/632051/debug_video_path.txt +0 -4
- SignX/detailed_prediction_20260101_150706/632051/feature_frame_mapping.json +0 -176
- SignX/detailed_prediction_20260101_150706/632051/frame_alignment.json +0 -86
- SignX/detailed_prediction_20260101_150706/632051/frame_alignment_short.pdf +0 -0
- SignX/detailed_prediction_20260101_150706/632051/gloss_to_frames.png +0 -3
- SignX/detailed_prediction_20260101_150706/632051/interactive_alignment.html +0 -579
- SignX/detailed_prediction_20260101_150706/632051/translation.txt +0 -3
- SignX/eval/analyze_video2pose.py +228 -0
- SignX/{good_videos_copy.sh → eval/good_videos_copy.sh} +0 -0
- SignX/eval/pose_vit_dim_analysis.py +442 -0
- SignX/index.js +757 -0
- SignX/inference_output.txt +0 -1
- SignX/inference_output.txt.clean +0 -1
- SignX/pose_vit_feature_analysis_3381121/analysis_report.txt +47 -0
- SignX/{detailed_prediction_20260101_150706/632051/attention_weights.npy → pose_vit_feature_analysis_3381121/cumulative_importance.png} +2 -2
- SignX/{detailed_prediction_20260101_150706/632051/frame_alignment.pdf → pose_vit_feature_analysis_3381121/dimension_heatmap.pdf} +0 -0
- SignX/{detailed_prediction_20260101_150706/632051/frame_alignment.png → pose_vit_feature_analysis_3381121/dimension_heatmap.png} +2 -2
- SignX/pose_vit_feature_analysis_3381121/dimension_scores.csv +2049 -0
- SignX/pose_vit_feature_analysis_3381121/metadata.json +40 -0
- SignX/{detailed_prediction_20260101_150706/632051/frame_alignment_short.png → pose_vit_feature_analysis_3381121/pose_2048.npy} +2 -2
- SignX/{detailed_prediction_20260101_150706/632051/attention_heatmap.png → pose_vit_feature_analysis_3381121/top_dimensions.png} +2 -2
- SignX/viser_backend.py +278 -0
SignX/benchmark_results/efficiency_comparison_table.tex
DELETED
|
@@ -1,14 +0,0 @@
|
|
| 1 |
-
\begin{table}[t]
|
| 2 |
-
\centering
|
| 3 |
-
\caption{\textbf{Inference Efficiency on ASLLRP:} SignX achieves real-time performance by operating in latent space.}
|
| 4 |
-
\label{tab:efficiency}
|
| 5 |
-
\begin{tabular}{lcc}
|
| 6 |
-
\toprule
|
| 7 |
-
Method & FPS $\uparrow$ & Power (W) $\downarrow$ \\
|
| 8 |
-
\midrule
|
| 9 |
-
SignX (Full Pipeline) & 0.05 & 26.22 \\
|
| 10 |
-
SignX (SMKD Feature Extraction) & 0.57 & 29.20 \\
|
| 11 |
-
SignX (Latent-only) & 2.42 & 24.58 \\
|
| 12 |
-
\bottomrule
|
| 13 |
-
\end{tabular}
|
| 14 |
-
\end{table}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/analysis_report.txt
DELETED
|
@@ -1,43 +0,0 @@
|
|
| 1 |
-
================================================================================
|
| 2 |
-
Sign Language Recognition - Attention分析报告
|
| 3 |
-
================================================================================
|
| 4 |
-
|
| 5 |
-
生成时间: 2026-01-01 15:07:12
|
| 6 |
-
|
| 7 |
-
翻译结果:
|
| 8 |
-
--------------------------------------------------------------------------------
|
| 9 |
-
#IF FRIEND GROUP/TOGETHER DEPART PARTY IX-1p JOIN IX-1p
|
| 10 |
-
|
| 11 |
-
视频信息:
|
| 12 |
-
--------------------------------------------------------------------------------
|
| 13 |
-
总帧数: 28
|
| 14 |
-
词数量: 8
|
| 15 |
-
|
| 16 |
-
Attention权重信息:
|
| 17 |
-
--------------------------------------------------------------------------------
|
| 18 |
-
形状: (26, 28)
|
| 19 |
-
- 解码步数: 26
|
| 20 |
-
|
| 21 |
-
词-帧对应详情:
|
| 22 |
-
================================================================================
|
| 23 |
-
No. Word Frames Peak Attn Conf
|
| 24 |
-
--------------------------------------------------------------------------------
|
| 25 |
-
1 #IF 2-2 2 0.472 medium
|
| 26 |
-
2 FRIEND 5-5 5 0.425 medium
|
| 27 |
-
3 GROUP/TOGETHER 8-8 8 0.375 medium
|
| 28 |
-
4 DEPART 27-27 27 0.348 medium
|
| 29 |
-
5 PARTY 27-27 27 0.383 medium
|
| 30 |
-
6 IX-1p 27-27 27 0.333 medium
|
| 31 |
-
7 JOIN 11-11 11 0.520 high
|
| 32 |
-
8 IX-1p 14-14 14 0.368 medium
|
| 33 |
-
|
| 34 |
-
================================================================================
|
| 35 |
-
|
| 36 |
-
统计摘要:
|
| 37 |
-
--------------------------------------------------------------------------------
|
| 38 |
-
平均attention权重: 0.403
|
| 39 |
-
高置信度词: 1 (12.5%)
|
| 40 |
-
中置信度词: 7 (87.5%)
|
| 41 |
-
低置信度词: 0 (0.0%)
|
| 42 |
-
|
| 43 |
-
================================================================================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/attention_heatmap.pdf
DELETED
|
Binary file (34.2 kB)
|
|
|
SignX/detailed_prediction_20260101_150706/632051/attention_keyframes/keyframes_index.txt
DELETED
|
@@ -1,35 +0,0 @@
|
|
| 1 |
-
关键帧索引
|
| 2 |
-
============================================================
|
| 3 |
-
|
| 4 |
-
样本目录: /common/users/sf895/output/huggingface_asllrp_repo/SignX/detailed_prediction_20260101_150706/632051
|
| 5 |
-
视频路径: /common/users/sf895/output/huggingface_asllrp_repo/SignX/eval/tiny_test_data/videos/632051.mp4
|
| 6 |
-
总关键帧数: 26
|
| 7 |
-
|
| 8 |
-
关键帧列表:
|
| 9 |
-
------------------------------------------------------------
|
| 10 |
-
Gloss 0: keyframe_000_feat2_frame9_att0.472.jpg
|
| 11 |
-
Gloss 1: keyframe_001_feat5_frame20_att0.425.jpg
|
| 12 |
-
Gloss 2: keyframe_002_feat8_frame32_att0.375.jpg
|
| 13 |
-
Gloss 3: keyframe_003_feat27_frame104_att0.348.jpg
|
| 14 |
-
Gloss 4: keyframe_004_feat27_frame104_att0.383.jpg
|
| 15 |
-
Gloss 5: keyframe_005_feat27_frame104_att0.333.jpg
|
| 16 |
-
Gloss 6: keyframe_006_feat11_frame43_att0.520.jpg
|
| 17 |
-
Gloss 7: keyframe_007_feat14_frame54_att0.368.jpg
|
| 18 |
-
Gloss 8: keyframe_008_feat17_frame66_att0.252.jpg
|
| 19 |
-
Gloss 9: keyframe_009_feat19_frame73_att0.884.jpg
|
| 20 |
-
Gloss 10: keyframe_010_feat0_frame1_att0.118.jpg
|
| 21 |
-
Gloss 11: keyframe_011_feat27_frame104_att0.164.jpg
|
| 22 |
-
Gloss 12: keyframe_012_feat25_frame96_att0.265.jpg
|
| 23 |
-
Gloss 13: keyframe_013_feat25_frame96_att0.282.jpg
|
| 24 |
-
Gloss 14: keyframe_014_feat25_frame96_att0.278.jpg
|
| 25 |
-
Gloss 15: keyframe_015_feat25_frame96_att0.277.jpg
|
| 26 |
-
Gloss 16: keyframe_016_feat27_frame104_att0.219.jpg
|
| 27 |
-
Gloss 17: keyframe_017_feat27_frame104_att0.190.jpg
|
| 28 |
-
Gloss 18: keyframe_018_feat27_frame104_att0.225.jpg
|
| 29 |
-
Gloss 19: keyframe_019_feat23_frame88_att0.150.jpg
|
| 30 |
-
Gloss 20: keyframe_020_feat27_frame104_att0.151.jpg
|
| 31 |
-
Gloss 21: keyframe_021_feat25_frame96_att0.360.jpg
|
| 32 |
-
Gloss 22: keyframe_022_feat25_frame96_att0.153.jpg
|
| 33 |
-
Gloss 23: keyframe_023_feat27_frame104_att0.144.jpg
|
| 34 |
-
Gloss 24: keyframe_024_feat25_frame96_att0.144.jpg
|
| 35 |
-
Gloss 25: keyframe_025_feat27_frame104_att0.186.jpg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/debug_video_path.txt
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
video_path = '/common/users/sf895/output/huggingface_asllrp_repo/SignX/eval/tiny_test_data/videos/632051.mp4'
|
| 2 |
-
video_path type = <class 'str'>
|
| 3 |
-
video_path is None: False
|
| 4 |
-
bool(video_path): True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/feature_frame_mapping.json
DELETED
|
@@ -1,176 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"original_frame_count": 106,
|
| 3 |
-
"feature_count": 28,
|
| 4 |
-
"downsampling_ratio": 3.7857142857142856,
|
| 5 |
-
"fps": 24.0,
|
| 6 |
-
"mapping": [
|
| 7 |
-
{
|
| 8 |
-
"feature_index": 0,
|
| 9 |
-
"frame_start": 0,
|
| 10 |
-
"frame_end": 3,
|
| 11 |
-
"frame_count": 3
|
| 12 |
-
},
|
| 13 |
-
{
|
| 14 |
-
"feature_index": 1,
|
| 15 |
-
"frame_start": 3,
|
| 16 |
-
"frame_end": 7,
|
| 17 |
-
"frame_count": 4
|
| 18 |
-
},
|
| 19 |
-
{
|
| 20 |
-
"feature_index": 2,
|
| 21 |
-
"frame_start": 7,
|
| 22 |
-
"frame_end": 11,
|
| 23 |
-
"frame_count": 4
|
| 24 |
-
},
|
| 25 |
-
{
|
| 26 |
-
"feature_index": 3,
|
| 27 |
-
"frame_start": 11,
|
| 28 |
-
"frame_end": 15,
|
| 29 |
-
"frame_count": 4
|
| 30 |
-
},
|
| 31 |
-
{
|
| 32 |
-
"feature_index": 4,
|
| 33 |
-
"frame_start": 15,
|
| 34 |
-
"frame_end": 18,
|
| 35 |
-
"frame_count": 3
|
| 36 |
-
},
|
| 37 |
-
{
|
| 38 |
-
"feature_index": 5,
|
| 39 |
-
"frame_start": 18,
|
| 40 |
-
"frame_end": 22,
|
| 41 |
-
"frame_count": 4
|
| 42 |
-
},
|
| 43 |
-
{
|
| 44 |
-
"feature_index": 6,
|
| 45 |
-
"frame_start": 22,
|
| 46 |
-
"frame_end": 26,
|
| 47 |
-
"frame_count": 4
|
| 48 |
-
},
|
| 49 |
-
{
|
| 50 |
-
"feature_index": 7,
|
| 51 |
-
"frame_start": 26,
|
| 52 |
-
"frame_end": 30,
|
| 53 |
-
"frame_count": 4
|
| 54 |
-
},
|
| 55 |
-
{
|
| 56 |
-
"feature_index": 8,
|
| 57 |
-
"frame_start": 30,
|
| 58 |
-
"frame_end": 34,
|
| 59 |
-
"frame_count": 4
|
| 60 |
-
},
|
| 61 |
-
{
|
| 62 |
-
"feature_index": 9,
|
| 63 |
-
"frame_start": 34,
|
| 64 |
-
"frame_end": 37,
|
| 65 |
-
"frame_count": 3
|
| 66 |
-
},
|
| 67 |
-
{
|
| 68 |
-
"feature_index": 10,
|
| 69 |
-
"frame_start": 37,
|
| 70 |
-
"frame_end": 41,
|
| 71 |
-
"frame_count": 4
|
| 72 |
-
},
|
| 73 |
-
{
|
| 74 |
-
"feature_index": 11,
|
| 75 |
-
"frame_start": 41,
|
| 76 |
-
"frame_end": 45,
|
| 77 |
-
"frame_count": 4
|
| 78 |
-
},
|
| 79 |
-
{
|
| 80 |
-
"feature_index": 12,
|
| 81 |
-
"frame_start": 45,
|
| 82 |
-
"frame_end": 49,
|
| 83 |
-
"frame_count": 4
|
| 84 |
-
},
|
| 85 |
-
{
|
| 86 |
-
"feature_index": 13,
|
| 87 |
-
"frame_start": 49,
|
| 88 |
-
"frame_end": 53,
|
| 89 |
-
"frame_count": 4
|
| 90 |
-
},
|
| 91 |
-
{
|
| 92 |
-
"feature_index": 14,
|
| 93 |
-
"frame_start": 53,
|
| 94 |
-
"frame_end": 56,
|
| 95 |
-
"frame_count": 3
|
| 96 |
-
},
|
| 97 |
-
{
|
| 98 |
-
"feature_index": 15,
|
| 99 |
-
"frame_start": 56,
|
| 100 |
-
"frame_end": 60,
|
| 101 |
-
"frame_count": 4
|
| 102 |
-
},
|
| 103 |
-
{
|
| 104 |
-
"feature_index": 16,
|
| 105 |
-
"frame_start": 60,
|
| 106 |
-
"frame_end": 64,
|
| 107 |
-
"frame_count": 4
|
| 108 |
-
},
|
| 109 |
-
{
|
| 110 |
-
"feature_index": 17,
|
| 111 |
-
"frame_start": 64,
|
| 112 |
-
"frame_end": 68,
|
| 113 |
-
"frame_count": 4
|
| 114 |
-
},
|
| 115 |
-
{
|
| 116 |
-
"feature_index": 18,
|
| 117 |
-
"frame_start": 68,
|
| 118 |
-
"frame_end": 71,
|
| 119 |
-
"frame_count": 3
|
| 120 |
-
},
|
| 121 |
-
{
|
| 122 |
-
"feature_index": 19,
|
| 123 |
-
"frame_start": 71,
|
| 124 |
-
"frame_end": 75,
|
| 125 |
-
"frame_count": 4
|
| 126 |
-
},
|
| 127 |
-
{
|
| 128 |
-
"feature_index": 20,
|
| 129 |
-
"frame_start": 75,
|
| 130 |
-
"frame_end": 79,
|
| 131 |
-
"frame_count": 4
|
| 132 |
-
},
|
| 133 |
-
{
|
| 134 |
-
"feature_index": 21,
|
| 135 |
-
"frame_start": 79,
|
| 136 |
-
"frame_end": 83,
|
| 137 |
-
"frame_count": 4
|
| 138 |
-
},
|
| 139 |
-
{
|
| 140 |
-
"feature_index": 22,
|
| 141 |
-
"frame_start": 83,
|
| 142 |
-
"frame_end": 87,
|
| 143 |
-
"frame_count": 4
|
| 144 |
-
},
|
| 145 |
-
{
|
| 146 |
-
"feature_index": 23,
|
| 147 |
-
"frame_start": 87,
|
| 148 |
-
"frame_end": 90,
|
| 149 |
-
"frame_count": 3
|
| 150 |
-
},
|
| 151 |
-
{
|
| 152 |
-
"feature_index": 24,
|
| 153 |
-
"frame_start": 90,
|
| 154 |
-
"frame_end": 94,
|
| 155 |
-
"frame_count": 4
|
| 156 |
-
},
|
| 157 |
-
{
|
| 158 |
-
"feature_index": 25,
|
| 159 |
-
"frame_start": 94,
|
| 160 |
-
"frame_end": 98,
|
| 161 |
-
"frame_count": 4
|
| 162 |
-
},
|
| 163 |
-
{
|
| 164 |
-
"feature_index": 26,
|
| 165 |
-
"frame_start": 98,
|
| 166 |
-
"frame_end": 102,
|
| 167 |
-
"frame_count": 4
|
| 168 |
-
},
|
| 169 |
-
{
|
| 170 |
-
"feature_index": 27,
|
| 171 |
-
"frame_start": 102,
|
| 172 |
-
"frame_end": 106,
|
| 173 |
-
"frame_count": 4
|
| 174 |
-
}
|
| 175 |
-
]
|
| 176 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/frame_alignment.json
DELETED
|
@@ -1,86 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"translation": "#IF FRIEND GROUP/TOGETHER DEPART PARTY IX-1p JOIN IX-1p",
|
| 3 |
-
"words": [
|
| 4 |
-
"#IF",
|
| 5 |
-
"FRIEND",
|
| 6 |
-
"GROUP/TOGETHER",
|
| 7 |
-
"DEPART",
|
| 8 |
-
"PARTY",
|
| 9 |
-
"IX-1p",
|
| 10 |
-
"JOIN",
|
| 11 |
-
"IX-1p"
|
| 12 |
-
],
|
| 13 |
-
"total_video_frames": 28,
|
| 14 |
-
"frame_ranges": [
|
| 15 |
-
{
|
| 16 |
-
"word": "#IF",
|
| 17 |
-
"start_frame": 2,
|
| 18 |
-
"end_frame": 2,
|
| 19 |
-
"peak_frame": 2,
|
| 20 |
-
"avg_attention": 0.47214657068252563,
|
| 21 |
-
"confidence": "medium"
|
| 22 |
-
},
|
| 23 |
-
{
|
| 24 |
-
"word": "FRIEND",
|
| 25 |
-
"start_frame": 5,
|
| 26 |
-
"end_frame": 5,
|
| 27 |
-
"peak_frame": 5,
|
| 28 |
-
"avg_attention": 0.4252290427684784,
|
| 29 |
-
"confidence": "medium"
|
| 30 |
-
},
|
| 31 |
-
{
|
| 32 |
-
"word": "GROUP/TOGETHER",
|
| 33 |
-
"start_frame": 8,
|
| 34 |
-
"end_frame": 8,
|
| 35 |
-
"peak_frame": 8,
|
| 36 |
-
"avg_attention": 0.37518179416656494,
|
| 37 |
-
"confidence": "medium"
|
| 38 |
-
},
|
| 39 |
-
{
|
| 40 |
-
"word": "DEPART",
|
| 41 |
-
"start_frame": 27,
|
| 42 |
-
"end_frame": 27,
|
| 43 |
-
"peak_frame": 27,
|
| 44 |
-
"avg_attention": 0.3480324149131775,
|
| 45 |
-
"confidence": "medium"
|
| 46 |
-
},
|
| 47 |
-
{
|
| 48 |
-
"word": "PARTY",
|
| 49 |
-
"start_frame": 27,
|
| 50 |
-
"end_frame": 27,
|
| 51 |
-
"peak_frame": 27,
|
| 52 |
-
"avg_attention": 0.38299673795700073,
|
| 53 |
-
"confidence": "medium"
|
| 54 |
-
},
|
| 55 |
-
{
|
| 56 |
-
"word": "IX-1p",
|
| 57 |
-
"start_frame": 27,
|
| 58 |
-
"end_frame": 27,
|
| 59 |
-
"peak_frame": 27,
|
| 60 |
-
"avg_attention": 0.33272165060043335,
|
| 61 |
-
"confidence": "medium"
|
| 62 |
-
},
|
| 63 |
-
{
|
| 64 |
-
"word": "JOIN",
|
| 65 |
-
"start_frame": 11,
|
| 66 |
-
"end_frame": 11,
|
| 67 |
-
"peak_frame": 11,
|
| 68 |
-
"avg_attention": 0.5199229121208191,
|
| 69 |
-
"confidence": "high"
|
| 70 |
-
},
|
| 71 |
-
{
|
| 72 |
-
"word": "IX-1p",
|
| 73 |
-
"start_frame": 14,
|
| 74 |
-
"end_frame": 14,
|
| 75 |
-
"peak_frame": 14,
|
| 76 |
-
"avg_attention": 0.3677118122577667,
|
| 77 |
-
"confidence": "medium"
|
| 78 |
-
}
|
| 79 |
-
],
|
| 80 |
-
"statistics": {
|
| 81 |
-
"avg_confidence": 0.4029928669333458,
|
| 82 |
-
"high_confidence_words": 1,
|
| 83 |
-
"medium_confidence_words": 7,
|
| 84 |
-
"low_confidence_words": 0
|
| 85 |
-
}
|
| 86 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/frame_alignment_short.pdf
DELETED
|
Binary file (32.2 kB)
|
|
|
SignX/detailed_prediction_20260101_150706/632051/gloss_to_frames.png
DELETED
Git LFS Details
|
SignX/detailed_prediction_20260101_150706/632051/interactive_alignment.html
DELETED
|
@@ -1,579 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="zh-CN">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Interactive Word-Frame Alignment</title>
|
| 7 |
-
<style>
|
| 8 |
-
body {
|
| 9 |
-
font-family: 'Arial', sans-serif;
|
| 10 |
-
margin: 20px;
|
| 11 |
-
background-color: #f5f5f5;
|
| 12 |
-
}
|
| 13 |
-
.container {
|
| 14 |
-
max-width: 1800px;
|
| 15 |
-
margin: 0 auto;
|
| 16 |
-
background-color: white;
|
| 17 |
-
padding: 30px;
|
| 18 |
-
border-radius: 8px;
|
| 19 |
-
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 20 |
-
}
|
| 21 |
-
h1 {
|
| 22 |
-
color: #333;
|
| 23 |
-
border-bottom: 3px solid #4CAF50;
|
| 24 |
-
padding-bottom: 10px;
|
| 25 |
-
margin-bottom: 20px;
|
| 26 |
-
}
|
| 27 |
-
.stats {
|
| 28 |
-
background-color: #E3F2FD;
|
| 29 |
-
padding: 15px;
|
| 30 |
-
border-radius: 5px;
|
| 31 |
-
margin-bottom: 20px;
|
| 32 |
-
border-left: 4px solid #2196F3;
|
| 33 |
-
font-size: 14px;
|
| 34 |
-
}
|
| 35 |
-
.controls {
|
| 36 |
-
background-color: #f9f9f9;
|
| 37 |
-
padding: 20px;
|
| 38 |
-
border-radius: 5px;
|
| 39 |
-
margin-bottom: 30px;
|
| 40 |
-
border: 1px solid #ddd;
|
| 41 |
-
}
|
| 42 |
-
.control-group {
|
| 43 |
-
margin-bottom: 15px;
|
| 44 |
-
}
|
| 45 |
-
label {
|
| 46 |
-
font-weight: bold;
|
| 47 |
-
display: inline-block;
|
| 48 |
-
width: 250px;
|
| 49 |
-
color: #555;
|
| 50 |
-
}
|
| 51 |
-
input[type="range"] {
|
| 52 |
-
width: 400px;
|
| 53 |
-
vertical-align: middle;
|
| 54 |
-
}
|
| 55 |
-
.value-display {
|
| 56 |
-
display: inline-block;
|
| 57 |
-
width: 80px;
|
| 58 |
-
font-family: monospace;
|
| 59 |
-
font-size: 14px;
|
| 60 |
-
color: #2196F3;
|
| 61 |
-
font-weight: bold;
|
| 62 |
-
}
|
| 63 |
-
.reset-btn {
|
| 64 |
-
margin-top: 15px;
|
| 65 |
-
padding: 10px 25px;
|
| 66 |
-
background-color: #2196F3;
|
| 67 |
-
color: white;
|
| 68 |
-
border: none;
|
| 69 |
-
border-radius: 5px;
|
| 70 |
-
cursor: pointer;
|
| 71 |
-
font-size: 14px;
|
| 72 |
-
font-weight: bold;
|
| 73 |
-
}
|
| 74 |
-
.reset-btn:hover {
|
| 75 |
-
background-color: #1976D2;
|
| 76 |
-
}
|
| 77 |
-
canvas {
|
| 78 |
-
border: 1px solid #999;
|
| 79 |
-
display: block;
|
| 80 |
-
margin: 20px auto;
|
| 81 |
-
background: white;
|
| 82 |
-
}
|
| 83 |
-
.legend {
|
| 84 |
-
margin-top: 20px;
|
| 85 |
-
padding: 15px;
|
| 86 |
-
background-color: #fff;
|
| 87 |
-
border: 1px solid #ddd;
|
| 88 |
-
border-radius: 5px;
|
| 89 |
-
}
|
| 90 |
-
.legend-item {
|
| 91 |
-
display: inline-block;
|
| 92 |
-
margin-right: 25px;
|
| 93 |
-
font-size: 13px;
|
| 94 |
-
margin-bottom: 10px;
|
| 95 |
-
}
|
| 96 |
-
.color-box {
|
| 97 |
-
display: inline-block;
|
| 98 |
-
width: 30px;
|
| 99 |
-
height: 15px;
|
| 100 |
-
margin-right: 8px;
|
| 101 |
-
vertical-align: middle;
|
| 102 |
-
border: 1px solid #666;
|
| 103 |
-
}
|
| 104 |
-
.info-panel {
|
| 105 |
-
margin-top: 20px;
|
| 106 |
-
padding: 15px;
|
| 107 |
-
background-color: #f9f9f9;
|
| 108 |
-
border-radius: 5px;
|
| 109 |
-
border: 1px solid #ddd;
|
| 110 |
-
}
|
| 111 |
-
.confidence {
|
| 112 |
-
display: inline-block;
|
| 113 |
-
padding: 3px 10px;
|
| 114 |
-
border-radius: 10px;
|
| 115 |
-
font-weight: bold;
|
| 116 |
-
font-size: 11px;
|
| 117 |
-
text-transform: uppercase;
|
| 118 |
-
}
|
| 119 |
-
.confidence.high {
|
| 120 |
-
background-color: #4CAF50;
|
| 121 |
-
color: white;
|
| 122 |
-
}
|
| 123 |
-
.confidence.medium {
|
| 124 |
-
background-color: #FF9800;
|
| 125 |
-
color: white;
|
| 126 |
-
}
|
| 127 |
-
.confidence.low {
|
| 128 |
-
background-color: #f44336;
|
| 129 |
-
color: white;
|
| 130 |
-
}
|
| 131 |
-
</style>
|
| 132 |
-
</head>
|
| 133 |
-
<body>
|
| 134 |
-
<div class="container">
|
| 135 |
-
<h1>🎯 Interactive Word-to-Frame Alignment Visualizer</h1>
|
| 136 |
-
|
| 137 |
-
<div class="stats">
|
| 138 |
-
<strong>Translation:</strong> #IF FRIEND GROUP/TOGETHER DEPART PARTY IX-1p JOIN IX-1p<br>
|
| 139 |
-
<strong>Total Words:</strong> 8 |
|
| 140 |
-
<strong>Total Features:</strong> 28
|
| 141 |
-
</div>
|
| 142 |
-
|
| 143 |
-
<div class="controls">
|
| 144 |
-
<h3>⚙️ Threshold Controls</h3>
|
| 145 |
-
|
| 146 |
-
<div class="control-group">
|
| 147 |
-
<label for="peak-threshold">Peak Threshold (% of max):</label>
|
| 148 |
-
<input type="range" id="peak-threshold" min="1" max="100" value="90" step="1">
|
| 149 |
-
<span class="value-display" id="peak-threshold-value">90%</span>
|
| 150 |
-
<br>
|
| 151 |
-
<small style="margin-left: 255px; color: #666;">
|
| 152 |
-
帧的注意力权重 ≥ (峰值权重 × 阈值%) 时被认为是"显著帧"
|
| 153 |
-
</small>
|
| 154 |
-
</div>
|
| 155 |
-
|
| 156 |
-
<div class="control-group">
|
| 157 |
-
<label for="confidence-high">High Confidence (avg attn >):</label>
|
| 158 |
-
<input type="range" id="confidence-high" min="0" max="100" value="50" step="1">
|
| 159 |
-
<span class="value-display" id="confidence-high-value">0.50</span>
|
| 160 |
-
</div>
|
| 161 |
-
|
| 162 |
-
<div class="control-group">
|
| 163 |
-
<label for="confidence-medium">Medium Confidence (avg attn >):</label>
|
| 164 |
-
<input type="range" id="confidence-medium" min="0" max="100" value="20" step="1">
|
| 165 |
-
<span class="value-display" id="confidence-medium-value">0.20</span>
|
| 166 |
-
</div>
|
| 167 |
-
|
| 168 |
-
<button class="reset-btn" onclick="resetDefaults()">
|
| 169 |
-
Reset to Defaults
|
| 170 |
-
</button>
|
| 171 |
-
</div>
|
| 172 |
-
|
| 173 |
-
<div>
|
| 174 |
-
<h3>Word-to-Frame Alignment</h3>
|
| 175 |
-
<p style="color: #666; font-size: 13px;">
|
| 176 |
-
每个词显示为彩色矩形,宽度表示该词对应的特征帧范围。★ = 峰值帧。矩形内部显示注意力权重波形。
|
| 177 |
-
</p>
|
| 178 |
-
<canvas id="alignment-canvas" width="1600" height="600"></canvas>
|
| 179 |
-
|
| 180 |
-
<h3 style="margin-top: 30px;">Timeline Progress Bar</h3>
|
| 181 |
-
<canvas id="timeline-canvas" width="1600" height="100"></canvas>
|
| 182 |
-
|
| 183 |
-
<div class="legend">
|
| 184 |
-
<strong>Legend:</strong><br><br>
|
| 185 |
-
<div class="legend-item">
|
| 186 |
-
<span class="confidence high">High</span>
|
| 187 |
-
<span class="confidence medium">Medium</span>
|
| 188 |
-
<span class="confidence low">Low</span>
|
| 189 |
-
Confidence Levels (opacity reflects confidence)
|
| 190 |
-
</div>
|
| 191 |
-
<div class="legend-item">
|
| 192 |
-
<span style="color: red; font-size: 20px;">★</span>
|
| 193 |
-
Peak Frame (highest attention)
|
| 194 |
-
</div>
|
| 195 |
-
<div class="legend-item">
|
| 196 |
-
<span style="color: blue;">━</span>
|
| 197 |
-
Attention Waveform (within word region)
|
| 198 |
-
</div>
|
| 199 |
-
</div>
|
| 200 |
-
</div>
|
| 201 |
-
|
| 202 |
-
<div class="info-panel">
|
| 203 |
-
<h3>Alignment Details</h3>
|
| 204 |
-
<div id="alignment-details"></div>
|
| 205 |
-
</div>
|
| 206 |
-
</div>
|
| 207 |
-
|
| 208 |
-
<script>
|
| 209 |
-
// Attention data from Python
|
| 210 |
-
const attentionData = [{"word": "#IF", "word_idx": 0, "weights": [0.013499895110726357, 0.02982642501592636, 0.47214657068252563, 0.4107391834259033, 0.04950176924467087, 0.011385880410671234, 0.007043282967060804, 0.0014652750687673688, 0.0005238102748990059, 0.00040972864371724427, 0.0001160625834017992, 6.416538963094354e-05, 5.9505786339286715e-05, 5.076597517472692e-05, 6.82844765833579e-05, 0.00012157609307905659, 6.597878382308409e-05, 0.00010269331687595695, 0.00013462362403515726, 6.423696322599426e-05, 8.642762986710295e-05, 9.25226995605044e-05, 0.00011670421372400597, 0.0001578366500325501, 0.00020240909361746162, 0.0003825947642326355, 0.0007172566256485879, 0.0008544913143850863]}, {"word": "FRIEND", "word_idx": 1, "weights": [0.009660173207521439, 0.010518566705286503, 0.011222519911825657, 0.014483344741165638, 0.1795402616262436, 0.4252290427684784, 0.25737643241882324, 0.05393827706575394, 0.01512613520026207, 0.013365501537919044, 0.002376752672716975, 0.00014935070066712797, 8.692959818290547e-05, 0.0004998841905035079, 0.0008451194153167307, 0.0011626698542386293, 0.00042453958303667605, 0.00017692227265797555, 0.00016767902707215399, 4.8644251364748925e-05, 8.348096889676526e-05, 0.0001094180770451203, 0.00030694258748553693, 0.0002885134017560631, 0.00031121523352339864, 0.0006241592927835882, 0.0008697768207639456, 0.0010077793849632144]}, {"word": "GROUP/TOGETHER", "word_idx": 2, "weights": [0.010994982905685902, 0.004551935940980911, 0.002873026067391038, 0.003936904948204756, 0.008626177906990051, 0.014811795204877853, 0.02318989858031273, 0.12032425403594971, 0.37518179416656494, 0.2971201539039612, 0.08549409359693527, 0.014250868931412697, 0.008063109591603279, 0.00339426938444376, 0.0037573552690446377, 0.004879903048276901, 0.0018731161253526807, 0.0011690640822052956, 0.0013268929906189442, 0.0007135092164389789, 0.000632062554359436, 0.000777124660089612, 0.0009553946438245475, 0.0009487943025305867, 0.0007010120898485184, 0.001496487995609641, 0.0037835948169231415, 0.004172381013631821]}, {"word": "DEPART", "word_idx": 3, "weights": [0.22514434158802032, 0.12377114593982697, 0.00781786348670721, 0.0074639273807406425, 0.01298774778842926, 0.00438598683103919, 0.004350316245108843, 0.006786263547837734, 0.006216868292540312, 0.0061629218980669975, 0.004193580709397793, 0.0015793128404766321, 0.0011525226291269064, 0.0014239393640309572, 0.0007423617644235492, 0.0008507575839757919, 0.0008870838792063296, 0.00024679809575900435, 0.00034805957693606615, 0.005230794660747051, 0.0011639633448794484, 0.001367528340779245, 0.010013289749622345, 0.018452608957886696, 0.0018141826149076223, 0.001117207808420062, 0.19629621505737305, 0.3480324149131775]}, {"word": "PARTY", "word_idx": 4, "weights": [0.1664648950099945, 0.06123431771993637, 0.0020844682585448027, 0.0020428383722901344, 0.0058554718270897865, 0.004360921215265989, 0.004692059941589832, 0.009323552250862122, 0.015183845534920692, 0.016528787091374397, 0.015347503125667572, 0.007253072690218687, 0.005231750197708607, 0.009598116390407085, 0.00704572768881917, 0.007053114008158445, 0.006423295009881258, 0.0010452027199789882, 0.0009786873124539852, 0.004494669381529093, 0.005323153454810381, 0.006433582864701748, 0.022334398701786995, 0.03912580758333206, 0.004556183237582445, 0.0021732028108090162, 0.18481463193893433, 0.38299673795700073]}, {"word": "IX-1p", "word_idx": 5, "weights": [0.2268882542848587, 0.10439852625131607, 0.005018203519284725, 0.005008632782846689, 0.005379822570830584, 0.00215631234459579, 0.0024426421150565147, 0.007580526173114777, 0.011461855843663216, 0.010575865395367146, 0.010204891674220562, 0.004322281572967768, 0.0023845669347792864, 0.0016265056328848004, 0.0011272492120042443, 0.0014091862831264734, 0.0019118450582027435, 0.0019068039255216718, 0.002558623207733035, 0.005466249771416187, 0.002576562575995922, 0.0033958060666918755, 0.014094071462750435, 0.03357496112585068, 0.005502632353454828, 0.003941097296774387, 0.19036439061164856, 0.33272165060043335]}, {"word": "JOIN", "word_idx": 6, "weights": [0.006536237895488739, 0.002151536289602518, 0.0006580766057595611, 0.0008207014761865139, 0.0003112705599050969, 0.0003111894184257835, 0.0008894064230844378, 0.004121360369026661, 0.01069970428943634, 0.008291625417768955, 0.01931559480726719, 0.5199229121208191, 0.40212148427963257, 0.004480497911572456, 0.0010337198618799448, 0.0007998707587830722, 0.00024323497200384736, 7.284984894795343e-05, 0.00011325528612360358, 0.00540410028770566, 0.0011726750526577234, 0.0009422790608368814, 0.0003188242844771594, 0.00024731658049859107, 3.1396619306178764e-05, 4.355102646513842e-05, 0.0036189379170536995, 0.005326398182660341]}, {"word": "IX-1p", "word_idx": 7, "weights": [0.0013159031514078379, 0.0007256589597091079, 0.00017777174070943147, 0.0001744187029544264, 0.00025140171055682003, 0.00039260604535229504, 0.0003829205525107682, 0.000333531730575487, 0.0007308170897886157, 0.0010108469286933541, 0.0015992401167750359, 0.003526317421346903, 0.012568545527756214, 0.2852487564086914, 0.3677118122577667, 0.19535787403583527, 0.07697467505931854, 0.012815488502383232, 0.007124335505068302, 0.0009805350564420223, 0.007633780129253864, 0.007437399588525295, 0.005485337693244219, 0.003693929873406887, 0.0026681837625801563, 0.0011110405903309584, 0.0008843602845445275, 0.0016825739294290543]}];
|
| 211 |
-
const numGlosses = 8;
|
| 212 |
-
const numFeatures = 28;
|
| 213 |
-
|
| 214 |
-
// Colors for different words (matching matplotlib tab20)
|
| 215 |
-
const colors = [
|
| 216 |
-
'#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd',
|
| 217 |
-
'#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf',
|
| 218 |
-
'#aec7e8', '#ffbb78', '#98df8a', '#ff9896', '#c5b0d5',
|
| 219 |
-
'#c49c94', '#f7b6d2', '#c7c7c7', '#dbdb8d', '#9edae5'
|
| 220 |
-
];
|
| 221 |
-
|
| 222 |
-
// Get controls
|
| 223 |
-
const peakThresholdSlider = document.getElementById('peak-threshold');
|
| 224 |
-
const peakThresholdValue = document.getElementById('peak-threshold-value');
|
| 225 |
-
const confidenceHighSlider = document.getElementById('confidence-high');
|
| 226 |
-
const confidenceHighValue = document.getElementById('confidence-high-value');
|
| 227 |
-
const confidenceMediumSlider = document.getElementById('confidence-medium');
|
| 228 |
-
const confidenceMediumValue = document.getElementById('confidence-medium-value');
|
| 229 |
-
const alignmentCanvas = document.getElementById('alignment-canvas');
|
| 230 |
-
const timelineCanvas = document.getElementById('timeline-canvas');
|
| 231 |
-
const alignmentCtx = alignmentCanvas.getContext('2d');
|
| 232 |
-
const timelineCtx = timelineCanvas.getContext('2d');
|
| 233 |
-
|
| 234 |
-
// Update displays when sliders change
|
| 235 |
-
peakThresholdSlider.oninput = function() {
|
| 236 |
-
peakThresholdValue.textContent = this.value + '%';
|
| 237 |
-
updateVisualization();
|
| 238 |
-
};
|
| 239 |
-
|
| 240 |
-
confidenceHighSlider.oninput = function() {
|
| 241 |
-
confidenceHighValue.textContent = (this.value / 100).toFixed(2);
|
| 242 |
-
updateVisualization();
|
| 243 |
-
};
|
| 244 |
-
|
| 245 |
-
confidenceMediumSlider.oninput = function() {
|
| 246 |
-
confidenceMediumValue.textContent = (this.value / 100).toFixed(2);
|
| 247 |
-
updateVisualization();
|
| 248 |
-
};
|
| 249 |
-
|
| 250 |
-
function resetDefaults() {
|
| 251 |
-
peakThresholdSlider.value = 90;
|
| 252 |
-
confidenceHighSlider.value = 50;
|
| 253 |
-
confidenceMediumSlider.value = 20;
|
| 254 |
-
peakThresholdValue.textContent = '90%';
|
| 255 |
-
confidenceHighValue.textContent = '0.50';
|
| 256 |
-
confidenceMediumValue.textContent = '0.20';
|
| 257 |
-
updateVisualization();
|
| 258 |
-
}
|
| 259 |
-
|
| 260 |
-
function calculateAlignment(weights, peakThreshold) {
|
| 261 |
-
// Find peak
|
| 262 |
-
let peakIdx = 0;
|
| 263 |
-
let peakWeight = weights[0];
|
| 264 |
-
for (let i = 1; i < weights.length; i++) {
|
| 265 |
-
if (weights[i] > peakWeight) {
|
| 266 |
-
peakWeight = weights[i];
|
| 267 |
-
peakIdx = i;
|
| 268 |
-
}
|
| 269 |
-
}
|
| 270 |
-
|
| 271 |
-
// Find significant frames
|
| 272 |
-
const threshold = peakWeight * (peakThreshold / 100);
|
| 273 |
-
let startIdx = peakIdx;
|
| 274 |
-
let endIdx = peakIdx;
|
| 275 |
-
let sumWeight = 0;
|
| 276 |
-
let count = 0;
|
| 277 |
-
|
| 278 |
-
for (let i = 0; i < weights.length; i++) {
|
| 279 |
-
if (weights[i] >= threshold) {
|
| 280 |
-
if (i < startIdx) startIdx = i;
|
| 281 |
-
if (i > endIdx) endIdx = i;
|
| 282 |
-
sumWeight += weights[i];
|
| 283 |
-
count++;
|
| 284 |
-
}
|
| 285 |
-
}
|
| 286 |
-
|
| 287 |
-
const avgWeight = count > 0 ? sumWeight / count : peakWeight;
|
| 288 |
-
|
| 289 |
-
return {
|
| 290 |
-
startIdx: startIdx,
|
| 291 |
-
endIdx: endIdx,
|
| 292 |
-
peakIdx: peakIdx,
|
| 293 |
-
peakWeight: peakWeight,
|
| 294 |
-
avgWeight: avgWeight,
|
| 295 |
-
threshold: threshold
|
| 296 |
-
};
|
| 297 |
-
}
|
| 298 |
-
|
| 299 |
-
function getConfidenceLevel(avgWeight, highThreshold, mediumThreshold) {
|
| 300 |
-
if (avgWeight > highThreshold) return 'high';
|
| 301 |
-
if (avgWeight > mediumThreshold) return 'medium';
|
| 302 |
-
return 'low';
|
| 303 |
-
}
|
| 304 |
-
|
| 305 |
-
function drawAlignmentChart() {
|
| 306 |
-
const peakThreshold = parseInt(peakThresholdSlider.value);
|
| 307 |
-
const highThreshold = parseInt(confidenceHighSlider.value) / 100;
|
| 308 |
-
const mediumThreshold = parseInt(confidenceMediumSlider.value) / 100;
|
| 309 |
-
|
| 310 |
-
// Canvas dimensions
|
| 311 |
-
const width = alignmentCanvas.width;
|
| 312 |
-
const height = alignmentCanvas.height;
|
| 313 |
-
const leftMargin = 180;
|
| 314 |
-
const rightMargin = 50;
|
| 315 |
-
const topMargin = 60;
|
| 316 |
-
const bottomMargin = 80;
|
| 317 |
-
|
| 318 |
-
const plotWidth = width - leftMargin - rightMargin;
|
| 319 |
-
const plotHeight = height - topMargin - bottomMargin;
|
| 320 |
-
|
| 321 |
-
const rowHeight = plotHeight / numGlosses;
|
| 322 |
-
const featureWidth = plotWidth / numFeatures;
|
| 323 |
-
|
| 324 |
-
// Clear canvas
|
| 325 |
-
alignmentCtx.clearRect(0, 0, width, height);
|
| 326 |
-
|
| 327 |
-
// Draw title
|
| 328 |
-
alignmentCtx.fillStyle = '#333';
|
| 329 |
-
alignmentCtx.font = 'bold 18px Arial';
|
| 330 |
-
alignmentCtx.textAlign = 'center';
|
| 331 |
-
alignmentCtx.fillText('Word-to-Frame Alignment', width / 2, 30);
|
| 332 |
-
alignmentCtx.font = '13px Arial';
|
| 333 |
-
alignmentCtx.fillText('(based on attention peaks, ★ = peak frame)', width / 2, 48);
|
| 334 |
-
|
| 335 |
-
// Calculate alignments
|
| 336 |
-
const alignments = [];
|
| 337 |
-
for (let wordIdx = 0; wordIdx < numGlosses; wordIdx++) {
|
| 338 |
-
const data = attentionData[wordIdx];
|
| 339 |
-
const alignment = calculateAlignment(data.weights, peakThreshold);
|
| 340 |
-
alignment.word = data.word;
|
| 341 |
-
alignment.wordIdx = wordIdx;
|
| 342 |
-
alignment.weights = data.weights;
|
| 343 |
-
alignments.push(alignment);
|
| 344 |
-
}
|
| 345 |
-
|
| 346 |
-
// Draw grid
|
| 347 |
-
alignmentCtx.strokeStyle = '#e0e0e0';
|
| 348 |
-
alignmentCtx.lineWidth = 0.5;
|
| 349 |
-
for (let i = 0; i <= numFeatures; i++) {
|
| 350 |
-
const x = leftMargin + i * featureWidth;
|
| 351 |
-
alignmentCtx.beginPath();
|
| 352 |
-
alignmentCtx.moveTo(x, topMargin);
|
| 353 |
-
alignmentCtx.lineTo(x, topMargin + plotHeight);
|
| 354 |
-
alignmentCtx.stroke();
|
| 355 |
-
}
|
| 356 |
-
|
| 357 |
-
// Draw word regions
|
| 358 |
-
for (let wordIdx = 0; wordIdx < numGlosses; wordIdx++) {
|
| 359 |
-
const alignment = alignments[wordIdx];
|
| 360 |
-
const confidence = getConfidenceLevel(alignment.avgWeight, highThreshold, mediumThreshold);
|
| 361 |
-
const y = topMargin + wordIdx * rowHeight;
|
| 362 |
-
|
| 363 |
-
// Alpha based on confidence
|
| 364 |
-
const alpha = confidence === 'high' ? 0.9 : confidence === 'medium' ? 0.7 : 0.5;
|
| 365 |
-
|
| 366 |
-
// Draw rectangle for word region
|
| 367 |
-
const startX = leftMargin + alignment.startIdx * featureWidth;
|
| 368 |
-
const rectWidth = (alignment.endIdx - alignment.startIdx + 1) * featureWidth;
|
| 369 |
-
|
| 370 |
-
alignmentCtx.fillStyle = colors[wordIdx % 20];
|
| 371 |
-
alignmentCtx.globalAlpha = alpha;
|
| 372 |
-
alignmentCtx.fillRect(startX, y, rectWidth, rowHeight * 0.8);
|
| 373 |
-
alignmentCtx.globalAlpha = 1.0;
|
| 374 |
-
|
| 375 |
-
// Draw border
|
| 376 |
-
alignmentCtx.strokeStyle = '#000';
|
| 377 |
-
alignmentCtx.lineWidth = 2;
|
| 378 |
-
alignmentCtx.strokeRect(startX, y, rectWidth, rowHeight * 0.8);
|
| 379 |
-
|
| 380 |
-
// Draw attention waveform inside rectangle
|
| 381 |
-
alignmentCtx.strokeStyle = 'rgba(0, 0, 255, 0.8)';
|
| 382 |
-
alignmentCtx.lineWidth = 1.5;
|
| 383 |
-
alignmentCtx.beginPath();
|
| 384 |
-
for (let i = alignment.startIdx; i <= alignment.endIdx; i++) {
|
| 385 |
-
const x = leftMargin + i * featureWidth + featureWidth / 2;
|
| 386 |
-
const weight = alignment.weights[i];
|
| 387 |
-
const maxWeight = alignment.peakWeight;
|
| 388 |
-
const normalizedWeight = weight / (maxWeight * 1.2); // Scale for visibility
|
| 389 |
-
const waveY = y + rowHeight * 0.8 - (normalizedWeight * rowHeight * 0.6);
|
| 390 |
-
|
| 391 |
-
if (i === alignment.startIdx) {
|
| 392 |
-
alignmentCtx.moveTo(x, waveY);
|
| 393 |
-
} else {
|
| 394 |
-
alignmentCtx.lineTo(x, waveY);
|
| 395 |
-
}
|
| 396 |
-
}
|
| 397 |
-
alignmentCtx.stroke();
|
| 398 |
-
|
| 399 |
-
// Draw word label
|
| 400 |
-
const labelX = startX + rectWidth / 2;
|
| 401 |
-
const labelY = y + rowHeight * 0.4;
|
| 402 |
-
|
| 403 |
-
alignmentCtx.fillStyle = 'rgba(0, 0, 0, 0.7)';
|
| 404 |
-
alignmentCtx.fillRect(labelX - 60, labelY - 12, 120, 24);
|
| 405 |
-
alignmentCtx.fillStyle = '#fff';
|
| 406 |
-
alignmentCtx.font = 'bold 13px Arial';
|
| 407 |
-
alignmentCtx.textAlign = 'center';
|
| 408 |
-
alignmentCtx.textBaseline = 'middle';
|
| 409 |
-
alignmentCtx.fillText(alignment.word, labelX, labelY);
|
| 410 |
-
|
| 411 |
-
// Mark peak frame with star
|
| 412 |
-
const peakX = leftMargin + alignment.peakIdx * featureWidth + featureWidth / 2;
|
| 413 |
-
const peakY = y + rowHeight * 0.4;
|
| 414 |
-
|
| 415 |
-
// Draw star
|
| 416 |
-
alignmentCtx.fillStyle = '#ff0000';
|
| 417 |
-
alignmentCtx.strokeStyle = '#ffff00';
|
| 418 |
-
alignmentCtx.lineWidth = 1.5;
|
| 419 |
-
alignmentCtx.font = '20px Arial';
|
| 420 |
-
alignmentCtx.textAlign = 'center';
|
| 421 |
-
alignmentCtx.strokeText('★', peakX, peakY);
|
| 422 |
-
alignmentCtx.fillText('★', peakX, peakY);
|
| 423 |
-
|
| 424 |
-
// Y-axis label (word names)
|
| 425 |
-
alignmentCtx.fillStyle = '#333';
|
| 426 |
-
alignmentCtx.font = '12px Arial';
|
| 427 |
-
alignmentCtx.textAlign = 'right';
|
| 428 |
-
alignmentCtx.textBaseline = 'middle';
|
| 429 |
-
alignmentCtx.fillText(alignment.word, leftMargin - 10, y + rowHeight * 0.4);
|
| 430 |
-
}
|
| 431 |
-
|
| 432 |
-
// Draw horizontal grid lines
|
| 433 |
-
alignmentCtx.strokeStyle = '#ccc';
|
| 434 |
-
alignmentCtx.lineWidth = 0.5;
|
| 435 |
-
for (let i = 0; i <= numGlosses; i++) {
|
| 436 |
-
const y = topMargin + i * rowHeight;
|
| 437 |
-
alignmentCtx.beginPath();
|
| 438 |
-
alignmentCtx.moveTo(leftMargin, y);
|
| 439 |
-
alignmentCtx.lineTo(leftMargin + plotWidth, y);
|
| 440 |
-
alignmentCtx.stroke();
|
| 441 |
-
}
|
| 442 |
-
|
| 443 |
-
// Draw axes
|
| 444 |
-
alignmentCtx.strokeStyle = '#000';
|
| 445 |
-
alignmentCtx.lineWidth = 2;
|
| 446 |
-
alignmentCtx.strokeRect(leftMargin, topMargin, plotWidth, plotHeight);
|
| 447 |
-
|
| 448 |
-
// X-axis labels (frame indices)
|
| 449 |
-
alignmentCtx.fillStyle = '#000';
|
| 450 |
-
alignmentCtx.font = '11px Arial';
|
| 451 |
-
alignmentCtx.textAlign = 'center';
|
| 452 |
-
alignmentCtx.textBaseline = 'top';
|
| 453 |
-
for (let i = 0; i < numFeatures; i++) {
|
| 454 |
-
const x = leftMargin + i * featureWidth + featureWidth / 2;
|
| 455 |
-
alignmentCtx.fillText(i.toString(), x, topMargin + plotHeight + 10);
|
| 456 |
-
}
|
| 457 |
-
|
| 458 |
-
// Axis titles
|
| 459 |
-
alignmentCtx.fillStyle = '#333';
|
| 460 |
-
alignmentCtx.font = 'bold 14px Arial';
|
| 461 |
-
alignmentCtx.textAlign = 'center';
|
| 462 |
-
alignmentCtx.fillText('Feature Frame Index', leftMargin + plotWidth / 2, height - 20);
|
| 463 |
-
|
| 464 |
-
alignmentCtx.save();
|
| 465 |
-
alignmentCtx.translate(30, topMargin + plotHeight / 2);
|
| 466 |
-
alignmentCtx.rotate(-Math.PI / 2);
|
| 467 |
-
alignmentCtx.fillText('Generated Word', 0, 0);
|
| 468 |
-
alignmentCtx.restore();
|
| 469 |
-
|
| 470 |
-
return alignments;
|
| 471 |
-
}
|
| 472 |
-
|
| 473 |
-
function drawTimeline(alignments) {
|
| 474 |
-
const highThreshold = parseInt(confidenceHighSlider.value) / 100;
|
| 475 |
-
const mediumThreshold = parseInt(confidenceMediumSlider.value) / 100;
|
| 476 |
-
|
| 477 |
-
const width = timelineCanvas.width;
|
| 478 |
-
const height = timelineCanvas.height;
|
| 479 |
-
const leftMargin = 180;
|
| 480 |
-
const rightMargin = 50;
|
| 481 |
-
const plotWidth = width - leftMargin - rightMargin;
|
| 482 |
-
const featureWidth = plotWidth / numFeatures;
|
| 483 |
-
|
| 484 |
-
// Clear canvas
|
| 485 |
-
timelineCtx.clearRect(0, 0, width, height);
|
| 486 |
-
|
| 487 |
-
// Background bar
|
| 488 |
-
timelineCtx.fillStyle = '#ddd';
|
| 489 |
-
timelineCtx.fillRect(leftMargin, 30, plotWidth, 40);
|
| 490 |
-
timelineCtx.strokeStyle = '#000';
|
| 491 |
-
timelineCtx.lineWidth = 2;
|
| 492 |
-
timelineCtx.strokeRect(leftMargin, 30, plotWidth, 40);
|
| 493 |
-
|
| 494 |
-
// Draw word regions on timeline
|
| 495 |
-
for (let wordIdx = 0; wordIdx < alignments.length; wordIdx++) {
|
| 496 |
-
const alignment = alignments[wordIdx];
|
| 497 |
-
const confidence = getConfidenceLevel(alignment.avgWeight, highThreshold, mediumThreshold);
|
| 498 |
-
const alpha = confidence === 'high' ? 0.9 : confidence === 'medium' ? 0.7 : 0.5;
|
| 499 |
-
|
| 500 |
-
const startX = leftMargin + alignment.startIdx * featureWidth;
|
| 501 |
-
const rectWidth = (alignment.endIdx - alignment.startIdx + 1) * featureWidth;
|
| 502 |
-
|
| 503 |
-
timelineCtx.fillStyle = colors[wordIdx % 20];
|
| 504 |
-
timelineCtx.globalAlpha = alpha;
|
| 505 |
-
timelineCtx.fillRect(startX, 30, rectWidth, 40);
|
| 506 |
-
timelineCtx.globalAlpha = 1.0;
|
| 507 |
-
timelineCtx.strokeStyle = '#000';
|
| 508 |
-
timelineCtx.lineWidth = 0.5;
|
| 509 |
-
timelineCtx.strokeRect(startX, 30, rectWidth, 40);
|
| 510 |
-
}
|
| 511 |
-
|
| 512 |
-
// Title
|
| 513 |
-
timelineCtx.fillStyle = '#333';
|
| 514 |
-
timelineCtx.font = 'bold 13px Arial';
|
| 515 |
-
timelineCtx.textAlign = 'left';
|
| 516 |
-
timelineCtx.fillText('Timeline Progress Bar', leftMargin, 20);
|
| 517 |
-
}
|
| 518 |
-
|
| 519 |
-
function updateDetailsPanel(alignments, highThreshold, mediumThreshold) {
|
| 520 |
-
const panel = document.getElementById('alignment-details');
|
| 521 |
-
let html = '<table style="width: 100%; border-collapse: collapse;">';
|
| 522 |
-
html += '<tr style="background: #f0f0f0; font-weight: bold;">';
|
| 523 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Word</th>';
|
| 524 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Feature Range</th>';
|
| 525 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Peak</th>';
|
| 526 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Span</th>';
|
| 527 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Avg Attention</th>';
|
| 528 |
-
html += '<th style="padding: 8px; border: 1px solid #ddd;">Confidence</th>';
|
| 529 |
-
html += '</tr>';
|
| 530 |
-
|
| 531 |
-
for (const align of alignments) {
|
| 532 |
-
const confidence = getConfidenceLevel(align.avgWeight, highThreshold, mediumThreshold);
|
| 533 |
-
const span = align.endIdx - align.startIdx + 1;
|
| 534 |
-
|
| 535 |
-
html += '<tr>';
|
| 536 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;"><strong>${align.word}</strong></td>`;
|
| 537 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;">${align.startIdx} → ${align.endIdx}</td>`;
|
| 538 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;">${align.peakIdx}</td>`;
|
| 539 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;">${span}</td>`;
|
| 540 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;">${align.avgWeight.toFixed(4)}</td>`;
|
| 541 |
-
html += `<td style="padding: 8px; border: 1px solid #ddd;"><span class="confidence ${confidence}">${confidence}</span></td>`;
|
| 542 |
-
html += '</tr>';
|
| 543 |
-
}
|
| 544 |
-
|
| 545 |
-
html += '</table>';
|
| 546 |
-
panel.innerHTML = html;
|
| 547 |
-
}
|
| 548 |
-
|
| 549 |
-
function updateVisualization() {
|
| 550 |
-
const alignments = drawAlignmentChart();
|
| 551 |
-
drawTimeline(alignments);
|
| 552 |
-
const highThreshold = parseInt(confidenceHighSlider.value) / 100;
|
| 553 |
-
const mediumThreshold = parseInt(confidenceMediumSlider.value) / 100;
|
| 554 |
-
updateDetailsPanel(alignments, highThreshold, mediumThreshold);
|
| 555 |
-
}
|
| 556 |
-
|
| 557 |
-
// Event listeners for sliders
|
| 558 |
-
peakSlider.addEventListener('input', function() {
|
| 559 |
-
peakValue.textContent = peakSlider.value + '%';
|
| 560 |
-
updateVisualization();
|
| 561 |
-
});
|
| 562 |
-
|
| 563 |
-
confidenceHighSlider.addEventListener('input', function() {
|
| 564 |
-
const val = parseInt(confidenceHighSlider.value) / 100;
|
| 565 |
-
confidenceHighValue.textContent = val.toFixed(2);
|
| 566 |
-
updateVisualization();
|
| 567 |
-
});
|
| 568 |
-
|
| 569 |
-
confidenceMediumSlider.addEventListener('input', function() {
|
| 570 |
-
const val = parseInt(confidenceMediumSlider.value) / 100;
|
| 571 |
-
confidenceMediumValue.textContent = val.toFixed(2);
|
| 572 |
-
updateVisualization();
|
| 573 |
-
});
|
| 574 |
-
|
| 575 |
-
// Initial visualization
|
| 576 |
-
updateVisualization();
|
| 577 |
-
</script>
|
| 578 |
-
</body>
|
| 579 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SignX/detailed_prediction_20260101_150706/632051/translation.txt
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
With BPE: #IF FRIEND GROUP/TOGE@@ TH@@ E@@ R DEPART PARTY IX-1p JO@@ I@@ N IX-1p
|
| 2 |
-
Clean: #IF FRIEND GROUP/TOGETHER DEPART PARTY IX-1p JOIN IX-1p
|
| 3 |
-
Ground Truth: #IF FRIEND GROUP/TOGETHER GO-OUT PARTY IX-1p JOIN IX-1p
|
|
|
|
|
|
|
|
|
|
|
|
SignX/eval/analyze_video2pose.py
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Analyze pose ViT features from video2text checkpoint outputs."""
|
| 3 |
+
|
| 4 |
+
import argparse
|
| 5 |
+
import json
|
| 6 |
+
import os
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
import cv2
|
| 10 |
+
import matplotlib
|
| 11 |
+
|
| 12 |
+
matplotlib.use("Agg")
|
| 13 |
+
import matplotlib.pyplot as plt
|
| 14 |
+
import numpy as np
|
| 15 |
+
import torch
|
| 16 |
+
from PIL import Image
|
| 17 |
+
from torchvision import transforms
|
| 18 |
+
|
| 19 |
+
from smkd.pretrained.video2text import (
|
| 20 |
+
MultimodalPose2TextDiffusion,
|
| 21 |
+
MultimodalVideo2TextDiffusion,
|
| 22 |
+
)
|
| 23 |
+
|
| 24 |
+
INPUT_DIMS = {
|
| 25 |
+
"dwpose": 384,
|
| 26 |
+
"mediapipe_pose": 258,
|
| 27 |
+
"primedepth_depth": 576,
|
| 28 |
+
"sapiens_segmentation": 576,
|
| 29 |
+
"smplerx": 165,
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
def parse_args():
|
| 34 |
+
parser = argparse.ArgumentParser(description="Pose-dimensional ablation via video2text checkpoint.")
|
| 35 |
+
parser.add_argument("--video", required=True, help="Path to input video (mp4).")
|
| 36 |
+
parser.add_argument(
|
| 37 |
+
"--checkpoint",
|
| 38 |
+
default="smkd/pretrained/video2text_checkpoint_epoch_14.pth",
|
| 39 |
+
help="Path to video2text checkpoint.",
|
| 40 |
+
)
|
| 41 |
+
parser.add_argument(
|
| 42 |
+
"--output-dir",
|
| 43 |
+
default="pose_vit_feature_analysis",
|
| 44 |
+
help="Directory to store extracted features/plots.",
|
| 45 |
+
)
|
| 46 |
+
parser.add_argument("--num-frames", type=int, default=32, help="Number of frames sampled from video.")
|
| 47 |
+
parser.add_argument("--device", default="cuda", choices=["cuda", "cpu"], help="Torch device preference.")
|
| 48 |
+
parser.add_argument("--topk", type=int, default=32, help="Top dimensions to visualize.")
|
| 49 |
+
return parser.parse_args()
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def prepare_device(device_pref: str) -> torch.device:
|
| 53 |
+
if device_pref == "cuda" and torch.cuda.is_available():
|
| 54 |
+
return torch.device("cuda")
|
| 55 |
+
return torch.device("cpu")
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
def ensure_dir(path: str) -> Path:
|
| 59 |
+
path_obj = Path(path)
|
| 60 |
+
path_obj.mkdir(parents=True, exist_ok=True)
|
| 61 |
+
return path_obj
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def load_video_frames(video_path: str, num_frames: int, transform) -> torch.Tensor:
|
| 65 |
+
cap = cv2.VideoCapture(video_path)
|
| 66 |
+
if not cap.isOpened():
|
| 67 |
+
raise RuntimeError(f"Failed to open video: {video_path}")
|
| 68 |
+
|
| 69 |
+
total_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|
| 70 |
+
if total_frames <= 0:
|
| 71 |
+
raise RuntimeError(f"No frames found in video: {video_path}")
|
| 72 |
+
|
| 73 |
+
indices = np.linspace(0, max(total_frames - 1, 0), num=num_frames, dtype=np.int32)
|
| 74 |
+
frames = []
|
| 75 |
+
|
| 76 |
+
for idx in indices:
|
| 77 |
+
cap.set(cv2.CAP_PROP_POS_FRAMES, int(idx))
|
| 78 |
+
ok, frame = cap.read()
|
| 79 |
+
if not ok:
|
| 80 |
+
continue
|
| 81 |
+
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
| 82 |
+
frames.append(transform(Image.fromarray(frame)))
|
| 83 |
+
|
| 84 |
+
cap.release()
|
| 85 |
+
|
| 86 |
+
if not frames:
|
| 87 |
+
raise RuntimeError(f"No decodable frames in video: {video_path}")
|
| 88 |
+
|
| 89 |
+
while len(frames) < num_frames:
|
| 90 |
+
frames.append(frames[-1].clone())
|
| 91 |
+
|
| 92 |
+
return torch.stack(frames[:num_frames], dim=0)
|
| 93 |
+
|
| 94 |
+
|
| 95 |
+
def compute_dimension_stats(pose_2048: torch.Tensor):
|
| 96 |
+
with torch.no_grad():
|
| 97 |
+
scores = pose_2048.abs().mean(dim=(0, 1))
|
| 98 |
+
normalized = scores / (scores.max() + 1e-8)
|
| 99 |
+
return scores.cpu().numpy(), normalized.cpu().numpy()
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def plot_top_dims(scores, top_indices, output_path):
|
| 103 |
+
plt.figure(figsize=(max(8, len(top_indices) * 0.35), 4))
|
| 104 |
+
plt.bar(range(len(top_indices)), scores[top_indices], color="#1f77b4")
|
| 105 |
+
plt.xticks(range(len(top_indices)), [str(i) for i in top_indices], rotation=60)
|
| 106 |
+
plt.ylabel("Mean |value|")
|
| 107 |
+
plt.xlabel("Dimension")
|
| 108 |
+
plt.title("Top pose dimensions")
|
| 109 |
+
plt.tight_layout()
|
| 110 |
+
plt.savefig(output_path, dpi=240)
|
| 111 |
+
plt.close()
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
def plot_heatmap(norm_scores, output_path):
|
| 115 |
+
rows = 32
|
| 116 |
+
usable = (norm_scores.shape[0] // rows) * rows
|
| 117 |
+
reshaped = norm_scores[:usable].reshape(rows, -1)
|
| 118 |
+
plt.figure(figsize=(12, 4))
|
| 119 |
+
plt.imshow(reshaped, aspect="auto", cmap="magma")
|
| 120 |
+
plt.colorbar(label="Normalized importance")
|
| 121 |
+
plt.xlabel("Chunk index")
|
| 122 |
+
plt.ylabel("Row")
|
| 123 |
+
plt.title("Pose dimension importance heatmap")
|
| 124 |
+
plt.tight_layout()
|
| 125 |
+
plt.savefig(output_path, dpi=240)
|
| 126 |
+
plt.close()
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def plot_cumulative(scores, output_path):
|
| 130 |
+
sorted_scores = np.sort(scores)[::-1]
|
| 131 |
+
cumsum = np.cumsum(sorted_scores)
|
| 132 |
+
coverage = cumsum / cumsum[-1]
|
| 133 |
+
dims = np.arange(1, len(sorted_scores) + 1)
|
| 134 |
+
plt.figure(figsize=(8, 4))
|
| 135 |
+
plt.plot(dims, coverage, color="#ff7f0e")
|
| 136 |
+
plt.xlabel("Top-k dimensions")
|
| 137 |
+
plt.ylabel("Cumulative coverage")
|
| 138 |
+
plt.grid(alpha=0.3)
|
| 139 |
+
plt.tight_layout()
|
| 140 |
+
plt.savefig(output_path, dpi=240)
|
| 141 |
+
plt.close()
|
| 142 |
+
return coverage
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
def save_csv(scores, norm_scores, output_path):
|
| 146 |
+
with open(output_path, "w", encoding="utf-8") as handle:
|
| 147 |
+
handle.write("dimension,score,normalized\n")
|
| 148 |
+
for idx, (score, norm) in enumerate(zip(scores, norm_scores)):
|
| 149 |
+
handle.write(f"{idx},{score:.8f},{norm:.6f}\n")
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
def write_report(video_path, checkpoint, scores, norm_scores, coverage, top_indices, output_path):
|
| 153 |
+
levels = [0.25, 0.5, 0.9]
|
| 154 |
+
with open(output_path, "w", encoding="utf-8") as handle:
|
| 155 |
+
handle.write("Pose ViT dimensional analysis\n")
|
| 156 |
+
handle.write("=" * 60 + "\n\n")
|
| 157 |
+
handle.write(f"Video : {video_path}\n")
|
| 158 |
+
handle.write(f"Checkpoint : {checkpoint}\n")
|
| 159 |
+
handle.write(f"Total dims : {scores.shape[0]}\n\n")
|
| 160 |
+
handle.write("Top dimensions:\n")
|
| 161 |
+
for rank, dim_idx in enumerate(top_indices, 1):
|
| 162 |
+
handle.write(
|
| 163 |
+
f"{rank:02d}. dim {dim_idx:04d} | score={scores[dim_idx]:.6f} "
|
| 164 |
+
f"| normalized={norm_scores[dim_idx]:.4f}\n"
|
| 165 |
+
)
|
| 166 |
+
handle.write("\nCoverage milestones:\n")
|
| 167 |
+
for level in levels:
|
| 168 |
+
required = int(np.argmax(coverage >= level) + 1)
|
| 169 |
+
handle.write(f" - Top {required:4d} dims explain {level:.0%} of energy\n")
|
| 170 |
+
handle.write("\nScores computed as mean absolute activations on pose_2048.\n")
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
def main():
|
| 174 |
+
args = parse_args()
|
| 175 |
+
video_path = os.path.abspath(args.video)
|
| 176 |
+
checkpoint_path = os.path.abspath(args.checkpoint)
|
| 177 |
+
output_dir = ensure_dir(args.output_dir)
|
| 178 |
+
|
| 179 |
+
if not os.path.exists(video_path):
|
| 180 |
+
raise FileNotFoundError(f"Video not found: {video_path}")
|
| 181 |
+
if not os.path.exists(checkpoint_path):
|
| 182 |
+
raise FileNotFoundError(f"Checkpoint not found: {checkpoint_path}")
|
| 183 |
+
|
| 184 |
+
device = prepare_device(args.device)
|
| 185 |
+
print(f"[INFO] Using device: {device}")
|
| 186 |
+
|
| 187 |
+
pose2text = MultimodalPose2TextDiffusion(
|
| 188 |
+
input_dims=INPUT_DIMS,
|
| 189 |
+
hidden_dim=2048,
|
| 190 |
+
device=device,
|
| 191 |
+
codebook=None,
|
| 192 |
+
)
|
| 193 |
+
video2text = MultimodalVideo2TextDiffusion(
|
| 194 |
+
pose2text_model=pose2text,
|
| 195 |
+
device=device,
|
| 196 |
+
)
|
| 197 |
+
|
| 198 |
+
checkpoint = torch.load(checkpoint_path, map_location=device)
|
| 199 |
+
load_result = video2text.load_state_dict(checkpoint["model_state_dict"], strict=False)
|
| 200 |
+
if load_result.missing_keys:
|
| 201 |
+
print(f"[WARN] Missing keys ({len(load_result.missing_keys)}): {load_result.missing_keys[:5]}...")
|
| 202 |
+
if load_result.unexpected_keys:
|
| 203 |
+
print(f"[WARN] Unexpected keys ({len(load_result.unexpected_keys)}): {load_result.unexpected_keys[:5]}...")
|
| 204 |
+
video2text.eval()
|
| 205 |
+
|
| 206 |
+
frame_transform = transforms.Compose(
|
| 207 |
+
[
|
| 208 |
+
transforms.Resize((224, 224)),
|
| 209 |
+
transforms.ToTensor(),
|
| 210 |
+
transforms.Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
|
| 211 |
+
]
|
| 212 |
+
)
|
| 213 |
+
frames = load_video_frames(video_path, args.num_frames, frame_transform)
|
| 214 |
+
video_tensor = frames.unsqueeze(0).to(device)
|
| 215 |
+
|
| 216 |
+
with torch.no_grad():
|
| 217 |
+
pose_features = video2text.video2pose(video_tensor)
|
| 218 |
+
concatenated = pose2text.pose_encoder(pose_features)
|
| 219 |
+
B, F, D = concatenated.shape
|
| 220 |
+
flattened = concatenated.reshape(B * F, D)
|
| 221 |
+
pose_2048 = pose2text.dim_match(flattened).view(B, F, -1)
|
| 222 |
+
pose_numpy = pose_2048.cpu().numpy()
|
| 223 |
+
|
| 224 |
+
np.save(output_dir / "pose_2048.npy", pose_numpy)
|
| 225 |
+
scores, norm_scores = compute_dimension_stats(pose_2048)
|
| 226 |
+
save_csv(scores, norm_scores, output_dir / "dimension_scores.csv")
|
| 227 |
+
|
| 228 |
+
topk = min(args.topk, scores.shape)
|
SignX/{good_videos_copy.sh → eval/good_videos_copy.sh}
RENAMED
|
File without changes
|
SignX/eval/pose_vit_dim_analysis.py
ADDED
|
@@ -0,0 +1,442 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
Pose ViT dimensional importance analysis.
|
| 4 |
+
|
| 5 |
+
This script mimics the pose-assist (video2pose → pad-to-2048) pipeline used in Sign-X:
|
| 6 |
+
1. Load the ViT-based video2pose encoder and the PadMatch+LayerNorm projection from
|
| 7 |
+
the video2text checkpoint (e.g., video2text_checkpoint_epoch_14.pth).
|
| 8 |
+
2. Sample frames from a given video, extract per-frame pose representations,
|
| 9 |
+
and project them to 2048 dimensions.
|
| 10 |
+
3. Compute simple importance scores (mean absolute activation per dimension),
|
| 11 |
+
then export CSV/plots/report summarising the dominant pose dimensions.
|
| 12 |
+
"""
|
| 13 |
+
|
| 14 |
+
import argparse
|
| 15 |
+
import json
|
| 16 |
+
import os
|
| 17 |
+
import pickle
|
| 18 |
+
import sys
|
| 19 |
+
import types
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
|
| 22 |
+
import cv2
|
| 23 |
+
import matplotlib
|
| 24 |
+
|
| 25 |
+
matplotlib.use("Agg")
|
| 26 |
+
import matplotlib.pyplot as plt # noqa: E402
|
| 27 |
+
import numpy as np # noqa: E402
|
| 28 |
+
import torch # noqa: E402
|
| 29 |
+
import torch.nn as nn # noqa: E402
|
| 30 |
+
from PIL import Image # noqa: E402
|
| 31 |
+
from torchvision import transforms # noqa: E402
|
| 32 |
+
try:
|
| 33 |
+
import timm # noqa: E402
|
| 34 |
+
except ImportError as exc:
|
| 35 |
+
raise ImportError("timm is required for ViT backbone. Please install timm.") from exc
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
INPUT_DIMS = {
|
| 39 |
+
"dwpose": 384,
|
| 40 |
+
"mediapipe_pose": 258,
|
| 41 |
+
"primedepth_depth": 576,
|
| 42 |
+
"sapiens_segmentation": 576,
|
| 43 |
+
"smplerx": 165,
|
| 44 |
+
}
|
| 45 |
+
POSE_TYPE_ORDER = ["dwpose", "mediapipe_pose", "primedepth_depth", "sapiens_segmentation", "smplerx"]
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
class CodeBook: # noqa: D401 - Dummy placeholder so torch.load can unpickle checkpoints.
|
| 49 |
+
"""Placeholder CodeBook to satisfy torch.load when checkpoints store this object."""
|
| 50 |
+
|
| 51 |
+
def __init__(self, *args, **kwargs):
|
| 52 |
+
self.vocab_size = kwargs.get("vocab_size", 0)
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
class Video2Pose(nn.Module):
|
| 56 |
+
"""Minimal replica of the pose-assist encoder (ViT + temporal attention + per-type projection)."""
|
| 57 |
+
|
| 58 |
+
def __init__(self, input_dims):
|
| 59 |
+
super().__init__()
|
| 60 |
+
self.backbone = timm.create_model("vit_base_patch16_224", pretrained=True, num_classes=0)
|
| 61 |
+
self.temporal_attention = nn.MultiheadAttention(768, num_heads=8)
|
| 62 |
+
self.temporal_norm = nn.LayerNorm(768)
|
| 63 |
+
self.projections = nn.ModuleDict({pose: nn.Linear(768, dim) for pose, dim in input_dims.items()})
|
| 64 |
+
|
| 65 |
+
def forward(self, x):
|
| 66 |
+
# x: [B, F, 3, H, W]
|
| 67 |
+
B, F, C, H, W = x.shape
|
| 68 |
+
features = self.backbone(x.view(B * F, C, H, W)) # [B*F, 768]
|
| 69 |
+
features = features.view(B, F, -1).transpose(0, 1) # [F, B, 768]
|
| 70 |
+
attended, _ = self.temporal_attention(features, features, features)
|
| 71 |
+
attended = self.temporal_norm(attended).transpose(0, 1) # [B, F, 768]
|
| 72 |
+
return {pose: proj(attended) for pose, proj in self.projections.items()}
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
class PadMatch(nn.Module):
|
| 76 |
+
"""Pad features to hidden_dim and apply LayerNorm (weights loaded from checkpoint)."""
|
| 77 |
+
|
| 78 |
+
def __init__(self, input_dim, hidden_dim):
|
| 79 |
+
super().__init__()
|
| 80 |
+
self.input_dim = input_dim
|
| 81 |
+
self.hidden_dim = hidden_dim
|
| 82 |
+
self.pad = hidden_dim - input_dim
|
| 83 |
+
if self.pad < 0:
|
| 84 |
+
raise ValueError(f"hidden_dim {hidden_dim} must be >= input_dim {input_dim}")
|
| 85 |
+
self.layer_norm = nn.LayerNorm(hidden_dim)
|
| 86 |
+
|
| 87 |
+
def forward(self, x):
|
| 88 |
+
if self.pad > 0:
|
| 89 |
+
x = nn.functional.pad(x, (0, self.pad), "constant", 0.0)
|
| 90 |
+
return self.layer_norm(x)
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def parse_args():
|
| 94 |
+
parser = argparse.ArgumentParser(description="Pose ViT dimensional analysis (video2pose → 2048D).")
|
| 95 |
+
parser.add_argument("--video", required=True, help="Path to input video (.mp4).")
|
| 96 |
+
parser.add_argument(
|
| 97 |
+
"--checkpoint",
|
| 98 |
+
default="smkd/pretrained/video2text_checkpoint_epoch_14.pth",
|
| 99 |
+
help="Path to video2text checkpoint containing video2pose weights.",
|
| 100 |
+
)
|
| 101 |
+
parser.add_argument(
|
| 102 |
+
"--output-dir",
|
| 103 |
+
default="pose_vit_feature_analysis",
|
| 104 |
+
help="Directory to store feature dumps, plots, and summary.",
|
| 105 |
+
)
|
| 106 |
+
parser.add_argument("--num-frames", type=int, default=32, help="Frames sampled uniformly from the video.")
|
| 107 |
+
parser.add_argument("--device", choices=["cuda", "cpu"], default="cuda", help="Torch device preference.")
|
| 108 |
+
parser.add_argument("--topk", type=int, default=32, help="Number of top dimensions to visualise.")
|
| 109 |
+
return parser.parse_args()
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def prepare_device(pref: str) -> torch.device:
|
| 113 |
+
if pref == "cuda" and torch.cuda.is_available():
|
| 114 |
+
return torch.device("cuda")
|
| 115 |
+
return torch.device("cpu")
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
def ensure_dir(path: str) -> Path:
|
| 119 |
+
dst = Path(path)
|
| 120 |
+
dst.mkdir(parents=True, exist_ok=True)
|
| 121 |
+
return dst
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
def load_checkpoint(checkpoint_path: str, device: torch.device):
|
| 125 |
+
"""Load checkpoint with safe unpickling fallback."""
|
| 126 |
+
try:
|
| 127 |
+
ckpt = torch.load(checkpoint_path, map_location=device, weights_only=True)
|
| 128 |
+
except (TypeError, AttributeError, pickle.UnpicklingError):
|
| 129 |
+
torch.serialization.add_safe_globals([CodeBook])
|
| 130 |
+
ckpt = torch.load(checkpoint_path, map_location=device, weights_only=False)
|
| 131 |
+
|
| 132 |
+
if isinstance(ckpt, dict) and "model_state_dict" in ckpt:
|
| 133 |
+
return ckpt["model_state_dict"]
|
| 134 |
+
return ckpt
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def load_video2pose_weights(model: Video2Pose, state_dict):
|
| 138 |
+
sub_state = {k.replace("video2pose.", "", 1): v for k, v in state_dict.items() if k.startswith("video2pose.")}
|
| 139 |
+
missing, unexpected = model.load_state_dict(sub_state, strict=False)
|
| 140 |
+
if missing:
|
| 141 |
+
print(f"[WARN] Missing video2pose keys ({len(missing)}): {missing[:5]}...")
|
| 142 |
+
if unexpected:
|
| 143 |
+
print(f"[WARN] Unexpected video2pose keys ({len(unexpected)}): {unexpected[:5]}...")
|
| 144 |
+
|
| 145 |
+
|
| 146 |
+
def load_padmatch_weights(projector: PadMatch, state_dict):
|
| 147 |
+
sub_state = {
|
| 148 |
+
k.replace("pose2text.dim_match.", "", 1): v
|
| 149 |
+
for k, v in state_dict.items()
|
| 150 |
+
if k.startswith("pose2text.dim_match.")
|
| 151 |
+
}
|
| 152 |
+
ln_state = {}
|
| 153 |
+
if "1.weight" in sub_state:
|
| 154 |
+
ln_state["weight"] = sub_state["1.weight"]
|
| 155 |
+
if "1.bias" in sub_state:
|
| 156 |
+
ln_state["bias"] = sub_state["1.bias"]
|
| 157 |
+
if ln_state:
|
| 158 |
+
projector.layer_norm.load_state_dict(ln_state, strict=False)
|
| 159 |
+
if "1.weight" not in sub_state or "1.bias" not in sub_state:
|
| 160 |
+
print("[WARN] LayerNorm weights not found in checkpoint; using default initialisation.")
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
def load_and_process_video(video_path: str, num_frames: int):
|
| 164 |
+
cap = cv2.VideoCapture(video_path)
|
| 165 |
+
if not cap.isOpened():
|
| 166 |
+
raise RuntimeError(f"Unable to open video {video_path}")
|
| 167 |
+
|
| 168 |
+
total = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
|
| 169 |
+
if total <= 0:
|
| 170 |
+
raise RuntimeError(f"No frames found in video {video_path}")
|
| 171 |
+
|
| 172 |
+
indices = np.linspace(0, max(total - 1, 0), num=num_frames, dtype=np.int32)
|
| 173 |
+
transform = transforms.Compose(
|
| 174 |
+
[
|
| 175 |
+
transforms.Resize((224, 224)),
|
| 176 |
+
transforms.ToTensor(),
|
| 177 |
+
transforms.Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]),
|
| 178 |
+
]
|
| 179 |
+
)
|
| 180 |
+
|
| 181 |
+
frames = []
|
| 182 |
+
for idx in indices:
|
| 183 |
+
cap.set(cv2.CAP_PROP_POS_FRAMES, int(idx))
|
| 184 |
+
ok, frame = cap.read()
|
| 185 |
+
if not ok:
|
| 186 |
+
continue
|
| 187 |
+
frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
|
| 188 |
+
frames.append(transform(Image.fromarray(frame)))
|
| 189 |
+
|
| 190 |
+
cap.release()
|
| 191 |
+
|
| 192 |
+
if not frames:
|
| 193 |
+
raise RuntimeError(f"Failed to decode frames from {video_path}")
|
| 194 |
+
|
| 195 |
+
while len(frames) < num_frames:
|
| 196 |
+
frames.append(frames[-1].clone())
|
| 197 |
+
|
| 198 |
+
return torch.stack(frames[:num_frames], dim=0) # [F, 3, 224, 224]
|
| 199 |
+
|
| 200 |
+
|
| 201 |
+
def compute_importance(pose_2048: torch.Tensor):
|
| 202 |
+
with torch.no_grad():
|
| 203 |
+
scores = pose_2048.abs().mean(dim=(0, 1)).cpu().numpy()
|
| 204 |
+
normalized = scores / (scores.max() + 1e-8)
|
| 205 |
+
return scores, normalized
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
def plot_top_dimensions(scores, top_indices, output_path):
|
| 209 |
+
plt.figure(figsize=(max(8, len(top_indices) * 0.35), 4))
|
| 210 |
+
plt.bar(range(len(top_indices)), scores[top_indices], color="#1f77b4")
|
| 211 |
+
plt.xticks(range(len(top_indices)), [str(i) for i in top_indices], rotation=60)
|
| 212 |
+
plt.ylabel("Mean |activation|")
|
| 213 |
+
plt.xlabel("Dimension")
|
| 214 |
+
plt.title("Top pose dimensions")
|
| 215 |
+
plt.tight_layout()
|
| 216 |
+
plt.savefig(output_path, dpi=240)
|
| 217 |
+
plt.close()
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
def plot_heatmap(normalized_scores, output_path):
|
| 221 |
+
# Only use the actual pose dimensions (excluding padding)
|
| 222 |
+
total_pose_dims = sum(INPUT_DIMS.values()) # 1959
|
| 223 |
+
rows = 32
|
| 224 |
+
cols = int(np.ceil(total_pose_dims / rows)) # 62 columns needed
|
| 225 |
+
|
| 226 |
+
# Only use real pose features, not padding
|
| 227 |
+
heat_data = normalized_scores[:total_pose_dims]
|
| 228 |
+
# Pad to fill the rectangle if needed
|
| 229 |
+
needed = rows * cols
|
| 230 |
+
if len(heat_data) < needed:
|
| 231 |
+
heat_data = np.pad(heat_data, (0, needed - len(heat_data)), constant_values=0)
|
| 232 |
+
heat = heat_data.reshape(rows, cols)
|
| 233 |
+
|
| 234 |
+
# Calculate pose type boundaries
|
| 235 |
+
boundaries = []
|
| 236 |
+
cumsum = 0
|
| 237 |
+
for pose_type in POSE_TYPE_ORDER:
|
| 238 |
+
cumsum += INPUT_DIMS[pose_type]
|
| 239 |
+
boundaries.append(cumsum)
|
| 240 |
+
# boundaries = [384, 642, 1218, 1794, 1959]
|
| 241 |
+
|
| 242 |
+
# Adjust figure size to reduce right-side whitespace
|
| 243 |
+
fig, ax = plt.subplots(figsize=(12, 6))
|
| 244 |
+
im = ax.imshow(heat, aspect="auto", cmap="magma", extent=[0, cols, rows, 0])
|
| 245 |
+
|
| 246 |
+
# Set limits to avoid extra space
|
| 247 |
+
ax.set_xlim(0, cols)
|
| 248 |
+
ax.set_ylim(rows, 0) # Invert y-axis
|
| 249 |
+
|
| 250 |
+
# Draw red lines to separate pose types
|
| 251 |
+
# Convert dimension index to (row, col) in the heatmap
|
| 252 |
+
for boundary_dim in boundaries:
|
| 253 |
+
row = boundary_dim // cols
|
| 254 |
+
col = boundary_dim % cols
|
| 255 |
+
|
| 256 |
+
if col == 0:
|
| 257 |
+
# Boundary is at the start of a row, draw horizontal line
|
| 258 |
+
ax.axhline(y=row, color='red', linewidth=1.2, linestyle='-', alpha=0.9)
|
| 259 |
+
else:
|
| 260 |
+
# Boundary is in the middle of a row, draw an L-shaped line
|
| 261 |
+
# Vertical line from current position to end of row
|
| 262 |
+
ax.plot([col, col], [row, row + 1],
|
| 263 |
+
color='red', linewidth=1.2, linestyle='-', alpha=0.9)
|
| 264 |
+
# Horizontal line at the bottom of current row
|
| 265 |
+
ax.plot([0, col], [row + 1, row + 1],
|
| 266 |
+
color='red', linewidth=1.2, linestyle='-', alpha=0.9)
|
| 267 |
+
# Horizontal line at the top of next row (if boundary continues)
|
| 268 |
+
if row < rows - 1:
|
| 269 |
+
ax.plot([col, cols], [row + 1, row + 1],
|
| 270 |
+
color='red', linewidth=1.2, linestyle='-', alpha=0.9)
|
| 271 |
+
|
| 272 |
+
# Add text labels for pose types at region centers (1.5x size)
|
| 273 |
+
pose_labels = POSE_TYPE_ORDER
|
| 274 |
+
pose_boundaries = [0] + boundaries
|
| 275 |
+
for i, pose_name in enumerate(pose_labels):
|
| 276 |
+
start_dim = pose_boundaries[i]
|
| 277 |
+
end_dim = pose_boundaries[i + 1] - 1 # Last dimension in region
|
| 278 |
+
|
| 279 |
+
# Calculate geometric center for regions spanning multiple rows
|
| 280 |
+
start_row = start_dim // cols
|
| 281 |
+
start_col = start_dim % cols
|
| 282 |
+
end_row = end_dim // cols
|
| 283 |
+
end_col = end_dim % cols
|
| 284 |
+
|
| 285 |
+
region_size = pose_boundaries[i + 1] - start_dim
|
| 286 |
+
|
| 287 |
+
# Calculate center row
|
| 288 |
+
center_row = (start_row + end_row) / 2.0
|
| 289 |
+
|
| 290 |
+
# Calculate center col based on region shape
|
| 291 |
+
if start_row == end_row:
|
| 292 |
+
# Single row: simple average
|
| 293 |
+
center_col = (start_col + end_col) / 2.0
|
| 294 |
+
else:
|
| 295 |
+
# Multi-row: calculate weighted average col
|
| 296 |
+
total_cells = 0
|
| 297 |
+
weighted_col = 0
|
| 298 |
+
|
| 299 |
+
# First partial row
|
| 300 |
+
first_row_cells = cols - start_col
|
| 301 |
+
weighted_col += (start_col + cols - 1) / 2.0 * first_row_cells
|
| 302 |
+
total_cells += first_row_cells
|
| 303 |
+
|
| 304 |
+
# Full middle rows
|
| 305 |
+
middle_rows = end_row - start_row - 1
|
| 306 |
+
if middle_rows > 0:
|
| 307 |
+
weighted_col += (cols / 2.0) * cols * middle_rows
|
| 308 |
+
total_cells += cols * middle_rows
|
| 309 |
+
|
| 310 |
+
# Last partial row
|
| 311 |
+
last_row_cells = end_col + 1
|
| 312 |
+
weighted_col += (end_col / 2.0) * last_row_cells
|
| 313 |
+
total_cells += last_row_cells
|
| 314 |
+
|
| 315 |
+
center_col = weighted_col / total_cells
|
| 316 |
+
|
| 317 |
+
# Add label if there's enough space
|
| 318 |
+
if region_size >= 50:
|
| 319 |
+
ax.text(center_col, center_row, pose_name,
|
| 320 |
+
fontsize=14, ha='center', va='center',
|
| 321 |
+
color='white', weight='bold',
|
| 322 |
+
bbox=dict(boxstyle='round,pad=0.3', facecolor='black', alpha=0.5))
|
| 323 |
+
|
| 324 |
+
# Set labels and title with 2x font size
|
| 325 |
+
ax.set_xlabel("Chunk index", fontsize=20)
|
| 326 |
+
ax.set_ylabel("Row", fontsize=20)
|
| 327 |
+
ax.set_title("Pose dimension importance heatmap", fontsize=24)
|
| 328 |
+
|
| 329 |
+
# Set tick label size to 2x
|
| 330 |
+
ax.tick_params(axis='both', which='major', labelsize=20)
|
| 331 |
+
|
| 332 |
+
# Add colorbar with larger font, shrink to reduce width
|
| 333 |
+
cbar = plt.colorbar(im, ax=ax, fraction=0.046, pad=0.04)
|
| 334 |
+
cbar.ax.tick_params(labelsize=20)
|
| 335 |
+
cbar.set_label("Normalized importance", fontsize=20)
|
| 336 |
+
|
| 337 |
+
plt.tight_layout()
|
| 338 |
+
plt.savefig(output_path, dpi=240, bbox_inches='tight')
|
| 339 |
+
# Also save as PDF
|
| 340 |
+
pdf_path = output_path.parent / (output_path.stem + ".pdf")
|
| 341 |
+
plt.savefig(pdf_path, bbox_inches='tight')
|
| 342 |
+
plt.close()
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
def plot_cumulative(scores, output_path):
|
| 346 |
+
sorted_scores = np.sort(scores)[::-1]
|
| 347 |
+
coverage = np.cumsum(sorted_scores) / sorted_scores.sum()
|
| 348 |
+
plt.figure(figsize=(8, 4))
|
| 349 |
+
plt.plot(np.arange(1, len(sorted_scores) + 1), coverage, color="#ff7f0e")
|
| 350 |
+
plt.xlabel("Top-k dimensions")
|
| 351 |
+
plt.ylabel("Cumulative coverage")
|
| 352 |
+
plt.grid(alpha=0.3)
|
| 353 |
+
plt.tight_layout()
|
| 354 |
+
plt.savefig(output_path, dpi=240)
|
| 355 |
+
plt.close()
|
| 356 |
+
return coverage
|
| 357 |
+
|
| 358 |
+
|
| 359 |
+
def save_csv(scores, normalized, output_path):
|
| 360 |
+
with open(output_path, "w", encoding="utf-8") as handle:
|
| 361 |
+
handle.write("dimension,score,normalized\n")
|
| 362 |
+
for idx, (score, norm) in enumerate(zip(scores, normalized)):
|
| 363 |
+
handle.write(f"{idx},{score:.8f},{norm:.6f}\n")
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
def write_report(video, checkpoint, scores, normalized, coverage, top_indices, output_path):
|
| 367 |
+
with open(output_path, "w", encoding="utf-8") as handle:
|
| 368 |
+
handle.write("Pose ViT dimensional analysis\n")
|
| 369 |
+
handle.write("=" * 60 + "\n\n")
|
| 370 |
+
handle.write(f"Video : {video}\n")
|
| 371 |
+
handle.write(f"Checkpoint : {checkpoint}\n")
|
| 372 |
+
handle.write(f"Total dims : {scores.shape[0]}\n\n")
|
| 373 |
+
handle.write("Top dimensions:\n")
|
| 374 |
+
for rank, dim_idx in enumerate(top_indices, 1):
|
| 375 |
+
handle.write(
|
| 376 |
+
f"{rank:02d}. dim {dim_idx:04d} | score={scores[dim_idx]:.6f} "
|
| 377 |
+
f"| normalized={normalized[dim_idx]:.4f}\n"
|
| 378 |
+
)
|
| 379 |
+
|
| 380 |
+
handle.write("\nCoverage milestones:\n")
|
| 381 |
+
for pct in (0.25, 0.5, 0.9):
|
| 382 |
+
required = np.argmax(coverage >= pct) + 1
|
| 383 |
+
handle.write(f" - Top {required:4d} dims explain {pct:.0%} of energy\n")
|
| 384 |
+
|
| 385 |
+
handle.write("\nScores = mean absolute activation over frames/batch.\n")
|
| 386 |
+
|
| 387 |
+
|
| 388 |
+
def main():
|
| 389 |
+
args = parse_args()
|
| 390 |
+
video_abs = os.path.abspath(args.video)
|
| 391 |
+
ckpt_abs = os.path.abspath(args.checkpoint)
|
| 392 |
+
out_dir = ensure_dir(args.output_dir)
|
| 393 |
+
|
| 394 |
+
if not os.path.exists(video_abs):
|
| 395 |
+
raise FileNotFoundError(f"Video not found: {video_abs}")
|
| 396 |
+
if not os.path.exists(ckpt_abs):
|
| 397 |
+
raise FileNotFoundError(f"Checkpoint not found: {ckpt_abs}")
|
| 398 |
+
|
| 399 |
+
device = prepare_device(args.device)
|
| 400 |
+
print(f"[INFO] Using device: {device}")
|
| 401 |
+
|
| 402 |
+
state_dict = load_checkpoint(ckpt_abs, device)
|
| 403 |
+
video2pose = Video2Pose(INPUT_DIMS).to(device)
|
| 404 |
+
load_video2pose_weights(video2pose, state_dict)
|
| 405 |
+
projector = PadMatch(sum(INPUT_DIMS.values()), 2048).to(device)
|
| 406 |
+
load_padmatch_weights(projector, state_dict)
|
| 407 |
+
|
| 408 |
+
frames = load_and_process_video(video_abs, args.num_frames).unsqueeze(0).to(device) # [1, F, 3, 224, 224]
|
| 409 |
+
|
| 410 |
+
with torch.no_grad():
|
| 411 |
+
pose_dict = video2pose(frames)
|
| 412 |
+
pose_concat = torch.cat([pose_dict[ptype] for ptype in POSE_TYPE_ORDER if ptype in pose_dict], dim=-1)
|
| 413 |
+
B, F, D = pose_concat.shape
|
| 414 |
+
pose_flat = pose_concat.reshape(B * F, D)
|
| 415 |
+
pose_2048 = projector(pose_flat).view(B, F, -1)
|
| 416 |
+
np.save(out_dir / "pose_2048.npy", pose_2048.cpu().numpy())
|
| 417 |
+
|
| 418 |
+
scores, normalized = compute_importance(pose_2048)
|
| 419 |
+
save_csv(scores, normalized, out_dir / "dimension_scores.csv")
|
| 420 |
+
|
| 421 |
+
topk = min(args.topk, scores.shape[0])
|
| 422 |
+
top_indices = np.argsort(scores)[::-1][:topk]
|
| 423 |
+
plot_top_dimensions(scores, top_indices, out_dir / "top_dimensions.png")
|
| 424 |
+
plot_heatmap(normalized, out_dir / "dimension_heatmap.png")
|
| 425 |
+
coverage = plot_cumulative(scores, out_dir / "cumulative_importance.png")
|
| 426 |
+
write_report(video_abs, ckpt_abs, scores, normalized, coverage, top_indices, out_dir / "analysis_report.txt")
|
| 427 |
+
|
| 428 |
+
meta = {
|
| 429 |
+
"video": video_abs,
|
| 430 |
+
"checkpoint": ckpt_abs,
|
| 431 |
+
"num_frames": args.num_frames,
|
| 432 |
+
"device": str(device),
|
| 433 |
+
"top_dimensions": top_indices.tolist(),
|
| 434 |
+
}
|
| 435 |
+
with open(out_dir / "metadata.json", "w", encoding="utf-8") as hand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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { ControlWavePlugin } from '../plugin-loader.js';
|
| 2 |
+
|
| 3 |
+
export default class SignXPlugin extends ControlWavePlugin {
|
| 4 |
+
constructor() {
|
| 5 |
+
super({
|
| 6 |
+
id: 'signx-inference',
|
| 7 |
+
name: 'SignX',
|
| 8 |
+
version: '1.0.0',
|
| 9 |
+
author: 'ControlWave Team',
|
| 10 |
+
description: '使用SignX模型进行手语识别推理',
|
| 11 |
+
needsViser: false,
|
| 12 |
+
order: 100
|
| 13 |
+
});
|
| 14 |
+
|
| 15 |
+
this.currentVideoPath = null;
|
| 16 |
+
this.isInferring = false;
|
| 17 |
+
this.videoEl = null;
|
| 18 |
+
this.logsPre = null;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
async render(container) {
|
| 22 |
+
container.innerHTML = '';
|
| 23 |
+
container.className = 'tab-content active';
|
| 24 |
+
|
| 25 |
+
// 创建样式
|
| 26 |
+
const style = document.createElement('style');
|
| 27 |
+
style.textContent = `
|
| 28 |
+
.signx-root {
|
| 29 |
+
display: flex;
|
| 30 |
+
gap: 20px;
|
| 31 |
+
width: 100%;
|
| 32 |
+
height: 100%;
|
| 33 |
+
padding: 20px;
|
| 34 |
+
box-sizing: border-box;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.signx-left, .signx-right {
|
| 38 |
+
background: #fff;
|
| 39 |
+
border-radius: 12px;
|
| 40 |
+
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
|
| 41 |
+
padding: 20px;
|
| 42 |
+
display: flex;
|
| 43 |
+
flex-direction: column;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.signx-left {
|
| 47 |
+
flex: 1.2;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.signx-right {
|
| 51 |
+
flex: 1;
|
| 52 |
+
overflow-y: auto;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.signx-video-frame {
|
| 56 |
+
position: relative;
|
| 57 |
+
width: 100%;
|
| 58 |
+
padding-top: 56.25%;
|
| 59 |
+
background: #0f172a;
|
| 60 |
+
border-radius: 10px;
|
| 61 |
+
overflow: hidden;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.signx-video-frame video {
|
| 65 |
+
position: absolute;
|
| 66 |
+
top: 0;
|
| 67 |
+
left: 0;
|
| 68 |
+
width: 100%;
|
| 69 |
+
height: 100%;
|
| 70 |
+
object-fit: contain;
|
| 71 |
+
background: #0f172a;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.signx-video-placeholder {
|
| 75 |
+
position: absolute;
|
| 76 |
+
inset: 0;
|
| 77 |
+
display: flex;
|
| 78 |
+
align-items: center;
|
| 79 |
+
justify-content: center;
|
| 80 |
+
color: #94a3b8;
|
| 81 |
+
font-size: 15px;
|
| 82 |
+
text-align: center;
|
| 83 |
+
padding: 20px;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.signx-video-controls {
|
| 87 |
+
margin-top: 15px;
|
| 88 |
+
display: flex;
|
| 89 |
+
gap: 10px;
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.signx-section-title {
|
| 94 |
+
font-size: 18px;
|
| 95 |
+
font-weight: 600;
|
| 96 |
+
color: #0f172a;
|
| 97 |
+
margin-bottom: 16px;
|
| 98 |
+
padding-bottom: 10px;
|
| 99 |
+
border-bottom: 2px solid #2196F3;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
.signx-form-group {
|
| 103 |
+
margin-bottom: 15px;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.signx-form-group label {
|
| 107 |
+
display: block;
|
| 108 |
+
margin-bottom: 5px;
|
| 109 |
+
font-weight: 500;
|
| 110 |
+
color: #475569;
|
| 111 |
+
font-size: 13px;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.signx-form-group select {
|
| 115 |
+
width: 100%;
|
| 116 |
+
padding: 8px 12px;
|
| 117 |
+
border: 1px solid #cbd5e1;
|
| 118 |
+
border-radius: 6px;
|
| 119 |
+
font-size: 14px;
|
| 120 |
+
background: white;
|
| 121 |
+
cursor: pointer;
|
| 122 |
+
transition: all 0.2s;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.signx-form-group select:focus {
|
| 126 |
+
outline: none;
|
| 127 |
+
border-color: #2196F3;
|
| 128 |
+
box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.signx-btn {
|
| 132 |
+
width: 100%;
|
| 133 |
+
padding: 10px 20px;
|
| 134 |
+
border: none;
|
| 135 |
+
border-radius: 6px;
|
| 136 |
+
font-size: 14px;
|
| 137 |
+
font-weight: 500;
|
| 138 |
+
cursor: pointer;
|
| 139 |
+
transition: all 0.2s;
|
| 140 |
+
}
|
| 141 |
+
|
| 142 |
+
.signx-btn-primary {
|
| 143 |
+
background: #2196F3;
|
| 144 |
+
color: white;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.signx-btn-primary:hover:not(:disabled) {
|
| 148 |
+
background: #1976D2;
|
| 149 |
+
transform: translateY(-1px);
|
| 150 |
+
box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.signx-btn:disabled {
|
| 154 |
+
background: #cbd5e1;
|
| 155 |
+
cursor: not-allowed;
|
| 156 |
+
opacity: 0.6;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.signx-status {
|
| 160 |
+
margin-top: 20px;
|
| 161 |
+
padding: 12px 15px;
|
| 162 |
+
background: #f1f5f9;
|
| 163 |
+
border-radius: 6px;
|
| 164 |
+
border-left: 3px solid #2196F3;
|
| 165 |
+
font-size: 13px;
|
| 166 |
+
line-height: 1.6;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.signx-status.info {
|
| 170 |
+
border-left-color: #2196F3;
|
| 171 |
+
background: #E3F2FD;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
.signx-status.success {
|
| 175 |
+
border-left-color: #4CAF50;
|
| 176 |
+
background: #E8F5E9;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
.signx-status.error {
|
| 180 |
+
border-left-color: #f44336;
|
| 181 |
+
background: #FFEBEE;
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
.signx-status.loading {
|
| 185 |
+
border-left-color: #FF9800;
|
| 186 |
+
background: #FFF3E0;
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
.signx-logs {
|
| 190 |
+
margin-top: 20px;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.signx-logs pre {
|
| 194 |
+
background: #0f172a;
|
| 195 |
+
color: #cbd5e1;
|
| 196 |
+
border-radius: 8px;
|
| 197 |
+
padding: 14px;
|
| 198 |
+
font-size: 12px;
|
| 199 |
+
line-height: 1.6;
|
| 200 |
+
max-height: 400px;
|
| 201 |
+
overflow-y: auto;
|
| 202 |
+
white-space: pre-wrap;
|
| 203 |
+
word-wrap: break-word;
|
| 204 |
+
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.signx-result-section {
|
| 208 |
+
margin-top: 20px;
|
| 209 |
+
padding: 15px;
|
| 210 |
+
background: #f8fafc;
|
| 211 |
+
border-radius: 8px;
|
| 212 |
+
border: 1px solid #e2e8f0;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
.signx-result-section h4 {
|
| 216 |
+
margin: 0 0 10px 0;
|
| 217 |
+
color: #0f172a;
|
| 218 |
+
font-size: 14px;
|
| 219 |
+
font-weight: 600;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.signx-result-content {
|
| 223 |
+
font-family: monospace;
|
| 224 |
+
font-size: 13px;
|
| 225 |
+
line-height: 1.6;
|
| 226 |
+
color: #1e293b;
|
| 227 |
+
background: white;
|
| 228 |
+
padding: 10px;
|
| 229 |
+
border-radius: 4px;
|
| 230 |
+
max-height: 150px;
|
| 231 |
+
overflow-y: auto;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.spinner {
|
| 235 |
+
display: inline-block;
|
| 236 |
+
width: 14px;
|
| 237 |
+
height: 14px;
|
| 238 |
+
border: 2px solid #f3f3f3;
|
| 239 |
+
border-top: 2px solid #2196F3;
|
| 240 |
+
border-radius: 50%;
|
| 241 |
+
animation: spin 1s linear infinite;
|
| 242 |
+
margin-right: 8px;
|
| 243 |
+
vertical-align: middle;
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
@keyframes spin {
|
| 247 |
+
0% { transform: rotate(0deg); }
|
| 248 |
+
100% { transform: rotate(360deg); }
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
.signx-analysis-item {
|
| 252 |
+
margin-top: 20px;
|
| 253 |
+
padding-top: 20px;
|
| 254 |
+
border-top: 1px solid #e2e8f0;
|
| 255 |
+
}
|
| 256 |
+
|
| 257 |
+
.signx-analysis-item:first-child {
|
| 258 |
+
margin-top: 0;
|
| 259 |
+
padding-top: 0;
|
| 260 |
+
border-top: none;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.signx-analysis-item h5 {
|
| 264 |
+
margin: 0 0 10px 0;
|
| 265 |
+
color: #475569;
|
| 266 |
+
font-size: 13px;
|
| 267 |
+
font-weight: 600;
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
.signx-analysis-item img {
|
| 271 |
+
display: block;
|
| 272 |
+
max-width: 100%;
|
| 273 |
+
height: auto;
|
| 274 |
+
border: 1px solid #e2e8f0;
|
| 275 |
+
border-radius: 4px;
|
| 276 |
+
transition: transform 0.2s, box-shadow 0.2s;
|
| 277 |
+
}
|
| 278 |
+
|
| 279 |
+
.signx-analysis-item img:hover {
|
| 280 |
+
transform: scale(1.02);
|
| 281 |
+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
| 282 |
+
}
|
| 283 |
+
|
| 284 |
+
.signx-link-button {
|
| 285 |
+
display: inline-block;
|
| 286 |
+
padding: 8px 16px;
|
| 287 |
+
background: #2196F3;
|
| 288 |
+
color: white;
|
| 289 |
+
text-decoration: none;
|
| 290 |
+
border-radius: 4px;
|
| 291 |
+
font-size: 13px;
|
| 292 |
+
font-weight: 500;
|
| 293 |
+
transition: background 0.2s;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.signx-link-button:hover {
|
| 297 |
+
background: #1976D2;
|
| 298 |
+
}
|
| 299 |
+
|
| 300 |
+
.signx-keyframes-grid {
|
| 301 |
+
display: grid;
|
| 302 |
+
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
| 303 |
+
gap: 10px;
|
| 304 |
+
margin-top: 10px;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
.signx-keyframe-preview {
|
| 308 |
+
text-align: center;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.signx-keyframe-preview img {
|
| 312 |
+
width: 100%;
|
| 313 |
+
height: auto;
|
| 314 |
+
border: 1px solid #e2e8f0;
|
| 315 |
+
border-radius: 4px;
|
| 316 |
+
}
|
| 317 |
+
|
| 318 |
+
.signx-keyframe-preview span {
|
| 319 |
+
display: block;
|
| 320 |
+
margin-top: 4px;
|
| 321 |
+
font-size: 11px;
|
| 322 |
+
color: #64748b;
|
| 323 |
+
}
|
| 324 |
+
`;
|
| 325 |
+
|
| 326 |
+
container.appendChild(style);
|
| 327 |
+
|
| 328 |
+
// 创建主布局
|
| 329 |
+
const root = document.createElement('div');
|
| 330 |
+
root.className = 'signx-root';
|
| 331 |
+
root.innerHTML = `
|
| 332 |
+
<!-- 左侧:视频预览 -->
|
| 333 |
+
<div class="signx-left">
|
| 334 |
+
<h3 class="signx-section-title">视频预览</h3>
|
| 335 |
+
<div class="signx-video-frame">
|
| 336 |
+
<video id="signx-video" controls loop></video>
|
| 337 |
+
<div class="signx-video-placeholder" id="signx-video-placeholder">
|
| 338 |
+
选择视频后将在此处显示预览
|
| 339 |
+
</div>
|
| 340 |
+
</div>
|
| 341 |
+
<div class="signx-video-controls">
|
| 342 |
+
<div class="signx-form-group">
|
| 343 |
+
<label>视频文件夹</label>
|
| 344 |
+
<select id="signx-video-folder">
|
| 345 |
+
<option value="videos">videos (测试视频)</option>
|
| 346 |
+
<option value="good_videos" selected>good_videos (优质视频)</option>
|
| 347 |
+
</select>
|
| 348 |
+
</div>
|
| 349 |
+
<div class="signx-form-group">
|
| 350 |
+
<label>视频文件</label>
|
| 351 |
+
<select id="signx-video-file">
|
| 352 |
+
<option value="">加载中...</option>
|
| 353 |
+
</select>
|
| 354 |
+
</div>
|
| 355 |
+
<button id="signx-run-inference" class="signx-btn signx-btn-primary" disabled>
|
| 356 |
+
开始推理
|
| 357 |
+
</button>
|
| 358 |
+
</div>
|
| 359 |
+
</div>
|
| 360 |
+
|
| 361 |
+
<!-- 右侧:状态和结果 -->
|
| 362 |
+
<div class="signx-right">
|
| 363 |
+
<h3 class="signx-section-title">推理状态与结果</h3>
|
| 364 |
+
|
| 365 |
+
<div id="signx-status" class="signx-status info">
|
| 366 |
+
请选择视频文件
|
| 367 |
+
</div>
|
| 368 |
+
|
| 369 |
+
<div class="signx-logs">
|
| 370 |
+
<label style="display: block; margin-bottom: 8px; font-weight: 600; color: #475569; font-size: 13px;">
|
| 371 |
+
推理日志
|
| 372 |
+
</label>
|
| 373 |
+
<pre id="signx-logs">(等待推理任务...)</pre>
|
| 374 |
+
</div>
|
| 375 |
+
|
| 376 |
+
<div id="signx-results-container"></div>
|
| 377 |
+
</div>
|
| 378 |
+
`;
|
| 379 |
+
|
| 380 |
+
container.appendChild(root);
|
| 381 |
+
|
| 382 |
+
// 保存元素引用
|
| 383 |
+
this.videoEl = document.getElementById('signx-video');
|
| 384 |
+
this.videoPlaceholder = document.getElementById('signx-video-placeholder');
|
| 385 |
+
this.logsPre = document.getElementById('signx-logs');
|
| 386 |
+
|
| 387 |
+
// 隐藏视频元素(初始状态)
|
| 388 |
+
if (this.videoEl) {
|
| 389 |
+
this.videoEl.style.display = 'none';
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
// 设置事件监听器
|
| 393 |
+
this.setupEventListeners();
|
| 394 |
+
|
| 395 |
+
// 初始化:加载视频列表
|
| 396 |
+
this.loadVideoList();
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
setupEventListeners() {
|
| 400 |
+
const folderSelect = document.getElementById('signx-video-folder');
|
| 401 |
+
const fileSelect = document.getElementById('signx-video-file');
|
| 402 |
+
const runButton = document.getElementById('signx-run-inference');
|
| 403 |
+
|
| 404 |
+
if (folderSelect) {
|
| 405 |
+
folderSelect.addEventListener('change', () => {
|
| 406 |
+
this.loadVideoList();
|
| 407 |
+
});
|
| 408 |
+
}
|
| 409 |
+
|
| 410 |
+
if (fileSelect) {
|
| 411 |
+
fileSelect.addEventListener('change', (e) => {
|
| 412 |
+
this.currentVideoPath = e.target.value;
|
| 413 |
+
const runButton = document.getElementById('signx-run-inference');
|
| 414 |
+
if (runButton) {
|
| 415 |
+
runButton.disabled = !this.currentVideoPath;
|
| 416 |
+
}
|
| 417 |
+
|
| 418 |
+
if (this.currentVideoPath) {
|
| 419 |
+
this.updateStatus('已选择视频: ' + this.currentVideoPath.split('/').pop(), 'info');
|
| 420 |
+
this.updateVideo(this.currentVideoPath);
|
| 421 |
+
}
|
| 422 |
+
});
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
+
if (runButton) {
|
| 426 |
+
runButton.addEventListener('click', () => {
|
| 427 |
+
this.runInference();
|
| 428 |
+
});
|
| 429 |
+
}
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
async loadVideoList() {
|
| 433 |
+
const folderSelect = document.getElementById('signx-video-folder');
|
| 434 |
+
const fileSelect = document.getElementById('signx-video-file');
|
| 435 |
+
|
| 436 |
+
if (!folderSelect || !fileSelect) {
|
| 437 |
+
console.error('SignX: 找不到文件夹或文件选择器元素');
|
| 438 |
+
return;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
const folder = folderSelect.value;
|
| 442 |
+
console.log(`SignX: 正在加载视频列表,文件夹=${folder}`);
|
| 443 |
+
fileSelect.innerHTML = '<option value="">加载中...</option>';
|
| 444 |
+
|
| 445 |
+
try {
|
| 446 |
+
const data = await this.sendPluginMessage('list_videos', { folder: folder });
|
| 447 |
+
|
| 448 |
+
console.log('SignX: 收到响应数据:', data);
|
| 449 |
+
|
| 450 |
+
if (data && data.status === 'success') {
|
| 451 |
+
fileSelect.innerHTML = '<option value="">请选择视频文件</option>';
|
| 452 |
+
|
| 453 |
+
if (data.videos && data.videos.length > 0) {
|
| 454 |
+
data.videos.forEach(video => {
|
| 455 |
+
const option = document.createElement('option');
|
| 456 |
+
option.value = video.path;
|
| 457 |
+
option.textContent = video.name;
|
| 458 |
+
fileSelect.appendChild(option);
|
| 459 |
+
});
|
| 460 |
+
console.log(`SignX: 成功加载 ${data.videos.length} 个视频`);
|
| 461 |
+
this.updateStatus(`找到 ${data.videos.length} 个视频文件`, 'info');
|
| 462 |
+
} else {
|
| 463 |
+
console.warn('SignX: 视频列表为空');
|
| 464 |
+
this.updateStatus('未找到视频文件', 'info');
|
| 465 |
+
}
|
| 466 |
+
} else {
|
| 467 |
+
console.error('SignX: 响应状态不是success:', data);
|
| 468 |
+
fileSelect.innerHTML = '<option value="">加载失败</option>';
|
| 469 |
+
this.updateStatus('加载视频列表失败: ' + (data ? data.message : '未知错误'), 'error');
|
| 470 |
+
}
|
| 471 |
+
} catch (error) {
|
| 472 |
+
console.error('SignX: 加载视频列表异常:', error);
|
| 473 |
+
fileSelect.innerHTML = '<option value="">加载失败</option>';
|
| 474 |
+
this.updateStatus('加载视频列表失败: ' + error.message, 'error');
|
| 475 |
+
}
|
| 476 |
+
}
|
| 477 |
+
|
| 478 |
+
async updateVideo(videoPath) {
|
| 479 |
+
if (!this.videoEl || !this.videoPlaceholder) {
|
| 480 |
+
return;
|
| 481 |
+
}
|
| 482 |
+
|
| 483 |
+
try {
|
| 484 |
+
// 主后端已经为插件文件夹提供静态文件服务
|
| 485 |
+
// 视频路径:/plugins/SignX/eval/tiny_test_data/videos/xxx.mp4
|
| 486 |
+
const videoUrl = videoPath.replace(/.*\/plugins\/SignX/, '/plugins/SignX');
|
| 487 |
+
|
| 488 |
+
console.log('SignX: 加载视频 URL:', videoUrl);
|
| 489 |
+
|
| 490 |
+
this.videoEl.src = videoUrl;
|
| 491 |
+
this.videoEl.style.display = 'block';
|
| 492 |
+
this.videoPlaceholder.style.display = 'none';
|
| 493 |
+
|
| 494 |
+
this.videoEl.onloadeddata = () => {
|
| 495 |
+
console.log('SignX: 视频加载成功');
|
| 496 |
+
};
|
| 497 |
+
|
| 498 |
+
this.videoEl.onerror = () => {
|
| 499 |
+
this.videoEl.style.display = 'none';
|
| 500 |
+
this.videoPlaceholder.style.display = 'flex';
|
| 501 |
+
this.videoPlaceholder.textContent = '视频加载失败';
|
| 502 |
+
console.error('SignX: 视频加载失败,URL:', videoUrl);
|
| 503 |
+
};
|
| 504 |
+
|
| 505 |
+
this.videoEl.load();
|
| 506 |
+
} catch (error) {
|
| 507 |
+
this.videoEl.style.display = 'none';
|
| 508 |
+
this.videoPlaceholder.style.display = 'flex';
|
| 509 |
+
this.videoPlaceholder.textContent = '视频加载失败';
|
| 510 |
+
console.error('SignX: 视频加载异常:', error);
|
| 511 |
+
}
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
async runInference() {
|
| 515 |
+
if (!this.currentVideoPath || this.isInferring) {
|
| 516 |
+
return;
|
| 517 |
+
}
|
| 518 |
+
|
| 519 |
+
this.isInferring = true;
|
| 520 |
+
const runButton = document.getElementById('signx-run-inference');
|
| 521 |
+
const originalButtonText = runButton.textContent;
|
| 522 |
+
|
| 523 |
+
runButton.disabled = true;
|
| 524 |
+
runButton.innerHTML = '<span class="spinner"></span>推理中...';
|
| 525 |
+
|
| 526 |
+
this.updateStatus('正在运行 SignX 推理,这可能需要几分钟...', 'loading');
|
| 527 |
+
this.logsPre.textContent = '正在启动推理...\n';
|
| 528 |
+
|
| 529 |
+
try {
|
| 530 |
+
const data = await this.sendPluginMessage('run_inference', {
|
| 531 |
+
video_path: this.currentVideoPath
|
| 532 |
+
});
|
| 533 |
+
|
| 534 |
+
if (data.status === 'success') {
|
| 535 |
+
this.updateStatus('推理完成!', 'success');
|
| 536 |
+
this.displayResults(data);
|
| 537 |
+
} else {
|
| 538 |
+
this.updateStatus('推理失败: ' + data.message, 'error');
|
| 539 |
+
if (data.logs) {
|
| 540 |
+
this.logsPre.textContent = data.logs.join('\n');
|
| 541 |
+
}
|
| 542 |
+
}
|
| 543 |
+
} catch (error) {
|
| 544 |
+
console.error('SignX: 推理失败:', error);
|
| 545 |
+
this.updateStatus('推理失败: ' + error.message, 'error');
|
| 546 |
+
this.logsPre.textContent = error.message;
|
| 547 |
+
} finally {
|
| 548 |
+
this.isInferring = false;
|
| 549 |
+
runButton.disabled = false;
|
| 550 |
+
runButton.textContent = originalButtonText;
|
| 551 |
+
}
|
| 552 |
+
}
|
| 553 |
+
|
| 554 |
+
displayResults(data) {
|
| 555 |
+
const resultsContainer = document.getElementById('signx-results-container');
|
| 556 |
+
|
| 557 |
+
if (!resultsContainer) return;
|
| 558 |
+
|
| 559 |
+
resultsContainer.innerHTML = '';
|
| 560 |
+
|
| 561 |
+
// 显示日志
|
| 562 |
+
if (data.logs && data.logs.length > 0) {
|
| 563 |
+
this.logsPre.textContent = data.logs.join('\n');
|
| 564 |
+
}
|
| 565 |
+
|
| 566 |
+
// 显示识别结果
|
| 567 |
+
if (data.output_clean) {
|
| 568 |
+
const resultItem = document.createElement('div');
|
| 569 |
+
resultItem.className = 'signx-result-section';
|
| 570 |
+
resultItem.innerHTML = `
|
| 571 |
+
<h4>识别结果 (Gloss序列)</h4>
|
| 572 |
+
<div class="signx-result-content">${this.escapeHtml(data.output_clean)}</div>
|
| 573 |
+
`;
|
| 574 |
+
resultsContainer.appendChild(resultItem);
|
| 575 |
+
}
|
| 576 |
+
|
| 577 |
+
// 显示执行时间
|
| 578 |
+
if (data.execution_time) {
|
| 579 |
+
const timeItem = document.createElement('div');
|
| 580 |
+
timeItem.className = 'signx-result-section';
|
| 581 |
+
timeItem.innerHTML = `
|
| 582 |
+
<h4>执行时间</h4>
|
| 583 |
+
<div class="signx-result-content">${data.execution_time.toFixed(2)} 秒</div>
|
| 584 |
+
`;
|
| 585 |
+
resultsContainer.appendChild(timeItem);
|
| 586 |
+
}
|
| 587 |
+
|
| 588 |
+
// 显示分析图片和文件
|
| 589 |
+
if (data.analysis_images && data.analysis_images.length > 0) {
|
| 590 |
+
const analysisSection = document.createElement('div');
|
| 591 |
+
analysisSection.className = 'signx-result-section';
|
| 592 |
+
analysisSection.innerHTML = `<h4>注意力分析可视化</h4>`;
|
| 593 |
+
|
| 594 |
+
data.analysis_images.forEach(file => {
|
| 595 |
+
if (file.type === 'image') {
|
| 596 |
+
// 显示图片
|
| 597 |
+
const imgContainer = document.createElement('div');
|
| 598 |
+
imgContainer.className = 'signx-analysis-item';
|
| 599 |
+
imgContainer.innerHTML = `
|
| 600 |
+
<h5>${file.name}</h5>
|
| 601 |
+
<img src="${file.url}" alt="${file.name}"
|
| 602 |
+
onclick="window.open('${file.url}', '_blank')"
|
| 603 |
+
style="cursor: pointer; max-width: 100%; border-radius: 4px; margin-top: 8px;">
|
| 604 |
+
`;
|
| 605 |
+
analysisSection.appendChild(imgContainer);
|
| 606 |
+
} else if (file.type === 'html') {
|
| 607 |
+
// 显示HTML链接
|
| 608 |
+
const linkContainer = document.createElement('div');
|
| 609 |
+
linkContainer.className = 'signx-analysis-item';
|
| 610 |
+
linkContainer.innerHTML = `
|
| 611 |
+
<h5>${file.name}</h5>
|
| 612 |
+
<a href="${file.url}" target="_blank" class="signx-link-button">
|
| 613 |
+
打开交互式可视化 →
|
| 614 |
+
</a>
|
| 615 |
+
`;
|
| 616 |
+
analysisSection.appendChild(linkContainer);
|
| 617 |
+
} else if (file.type === 'keyframes') {
|
| 618 |
+
// 显示关键帧预览
|
| 619 |
+
const keyframesContainer = document.createElement('div');
|
| 620 |
+
keyframesContainer.className = 'signx-analysis-item';
|
| 621 |
+
keyframesContainer.innerHTML = `
|
| 622 |
+
<h5>${file.name} (共${file.count}个)</h5>
|
| 623 |
+
`;
|
| 624 |
+
|
| 625 |
+
if (file.previews && file.previews.length > 0) {
|
| 626 |
+
const previewGrid = document.createElement('div');
|
| 627 |
+
previewGrid.className = 'signx-keyframes-grid';
|
| 628 |
+
|
| 629 |
+
file.previews.forEach(preview => {
|
| 630 |
+
const imgDiv = document.createElement('div');
|
| 631 |
+
imgDiv.className = 'signx-keyframe-preview';
|
| 632 |
+
imgDiv.innerHTML = `
|
| 633 |
+
<img src="${preview.url}" alt="${preview.name}"
|
| 634 |
+
onclick="window.open('${preview.url}', '_blank')"
|
| 635 |
+
style="cursor: pointer;">
|
| 636 |
+
<span>${preview.name}</span>
|
| 637 |
+
`;
|
| 638 |
+
previewGrid.appendChild(imgDiv);
|
| 639 |
+
});
|
| 640 |
+
|
| 641 |
+
keyframesContainer.appendChild(previewGrid);
|
| 642 |
+
}
|
| 643 |
+
|
| 644 |
+
analysisSection.appendChild(keyframesContainer);
|
| 645 |
+
}
|
| 646 |
+
});
|
| 647 |
+
|
| 648 |
+
resultsContainer.appendChild(analysisSection);
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
// 显示详细分析目录
|
| 652 |
+
if (data.analysis_dir) {
|
| 653 |
+
const pathItem = document.createElement('div');
|
| 654 |
+
pathItem.className = 'signx-result-section';
|
| 655 |
+
pathItem.innerHTML = `
|
| 656 |
+
<h4>完整分析路径</h4>
|
| 657 |
+
<div class="signx-result-content">
|
| 658 |
+
<code>${data.analysis_dir}</code>
|
| 659 |
+
</div>
|
| 660 |
+
`;
|
| 661 |
+
resultsContainer.appendChild(pathItem);
|
| 662 |
+
}
|
| 663 |
+
}
|
| 664 |
+
|
| 665 |
+
updateStatus(message, type = 'info') {
|
| 666 |
+
const statusBox = document.getElementById('signx-status');
|
| 667 |
+
if (!statusBox) return;
|
| 668 |
+
|
| 669 |
+
statusBox.className = 'signx-status ' + type;
|
| 670 |
+
|
| 671 |
+
if (type === 'loading') {
|
| 672 |
+
statusBox.innerHTML = `<span class="spinner"></span>${message}`;
|
| 673 |
+
} else {
|
| 674 |
+
statusBox.textContent = message;
|
| 675 |
+
}
|
| 676 |
+
}
|
| 677 |
+
|
| 678 |
+
escapeHtml(text) {
|
| 679 |
+
const div = document.createElement('div');
|
| 680 |
+
div.textContent = text;
|
| 681 |
+
return div.innerHTML;
|
| 682 |
+
}
|
| 683 |
+
|
| 684 |
+
/**
|
| 685 |
+
* 发送插件消息并等待响应
|
| 686 |
+
*/
|
| 687 |
+
async sendPluginMessage(action, data) {
|
| 688 |
+
if (!window.controlWaveWebSocket || !window.controlWaveWebSocket.isConnected) {
|
| 689 |
+
throw new Error('WebSocket 未连接');
|
| 690 |
+
}
|
| 691 |
+
|
| 692 |
+
console.log(`SignX: 发送请求 action=${action}`, data);
|
| 693 |
+
|
| 694 |
+
// 对于推理操作,使用自定义超时(10分钟)
|
| 695 |
+
if (action === 'run_inference') {
|
| 696 |
+
return this.sendInferenceRequest(data);
|
| 697 |
+
}
|
| 698 |
+
|
| 699 |
+
const response = await window.controlWaveWebSocket.sendRequest('signx', {
|
| 700 |
+
action: action,
|
| 701 |
+
data: data
|
| 702 |
+
});
|
| 703 |
+
|
| 704 |
+
console.log('SignX: 收到响应', response);
|
| 705 |
+
return response;
|
| 706 |
+
}
|
| 707 |
+
|
| 708 |
+
/**
|
| 709 |
+
* 发送推理请求(10分钟超时)
|
| 710 |
+
*/
|
| 711 |
+
async sendInferenceRequest(data) {
|
| 712 |
+
const REQUEST_TIMEOUT_MS = 600000; // 10分钟
|
| 713 |
+
const wsManager = window.controlWaveWebSocket.manager;
|
| 714 |
+
|
| 715 |
+
return new Promise((resolve, reject) => {
|
| 716 |
+
const requestId = `signx_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
| 717 |
+
|
| 718 |
+
const message = {
|
| 719 |
+
type: 'plugin_message',
|
| 720 |
+
plugin: 'signx',
|
| 721 |
+
action: 'run_inference',
|
| 722 |
+
requestId: requestId,
|
| 723 |
+
data: data
|
| 724 |
+
};
|
| 725 |
+
|
| 726 |
+
const responseHandler = (event) => {
|
| 727 |
+
try {
|
| 728 |
+
const response = JSON.parse(event.data);
|
| 729 |
+
|
| 730 |
+
if (response.type === 'plugin_response' &&
|
| 731 |
+
response.requestId === requestId) {
|
| 732 |
+
wsManager.off('message', responseHandler);
|
| 733 |
+
clearTimeout(timeoutId);
|
| 734 |
+
|
| 735 |
+
console.log('SignX: 推理响应:', response);
|
| 736 |
+
|
| 737 |
+
if (response.status === 'success') {
|
| 738 |
+
resolve(response.response || response);
|
| 739 |
+
} else {
|
| 740 |
+
reject(new Error(response.message || 'Inference error'));
|
| 741 |
+
}
|
| 742 |
+
}
|
| 743 |
+
} catch (error) {
|
| 744 |
+
// 忽略非JSON消息
|
| 745 |
+
}
|
| 746 |
+
};
|
| 747 |
+
|
| 748 |
+
wsManager.on('message', responseHandler);
|
| 749 |
+
wsManager.send(message);
|
| 750 |
+
|
| 751 |
+
const timeoutId = setTimeout(() => {
|
| 752 |
+
wsManager.off('message', responseHandler);
|
| 753 |
+
reject(new Error('推理超时(10分钟)'));
|
| 754 |
+
}, REQUEST_TIMEOUT_MS);
|
| 755 |
+
});
|
| 756 |
+
}
|
| 757 |
+
}
|
SignX/inference_output.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
#IF FRIEND GROUP/TOGE@@ TH@@ E@@ R DEPART PARTY IX-1p JO@@ I@@ N IX-1p
|
|
|
|
|
|
SignX/inference_output.txt.clean
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
#IF FRIEND GROUP/TOGETHER DEPART PARTY IX-1p JOIN IX-1p
|
|
|
|
|
|
SignX/pose_vit_feature_analysis_3381121/analysis_report.txt
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Pose ViT dimensional analysis
|
| 2 |
+
============================================================
|
| 3 |
+
|
| 4 |
+
Video : /common/users/sf895/output/huggingface_asllrp_repo/SignX/eval/tiny_test_data/good_videos/3381121.mp4
|
| 5 |
+
Checkpoint : /common/users/sf895/output/huggingface_asllrp_repo/SignX/smkd/pretrained/video2text_checkpoint_epoch_14.pth
|
| 6 |
+
Total dims : 2048
|
| 7 |
+
|
| 8 |
+
Top dimensions:
|
| 9 |
+
01. dim 1192 | score=3.215288 | normalized=1.0000
|
| 10 |
+
02. dim 1750 | score=3.139674 | normalized=0.9765
|
| 11 |
+
03. dim 0580 | score=3.086235 | normalized=0.9599
|
| 12 |
+
04. dim 1284 | score=3.076663 | normalized=0.9569
|
| 13 |
+
05. dim 0887 | score=3.028741 | normalized=0.9420
|
| 14 |
+
06. dim 0560 | score=2.881777 | normalized=0.8963
|
| 15 |
+
07. dim 1863 | score=2.869644 | normalized=0.8925
|
| 16 |
+
08. dim 1531 | score=2.851681 | normalized=0.8869
|
| 17 |
+
09. dim 0747 | score=2.762800 | normalized=0.8593
|
| 18 |
+
10. dim 1233 | score=2.757569 | normalized=0.8576
|
| 19 |
+
11. dim 1312 | score=2.722223 | normalized=0.8466
|
| 20 |
+
12. dim 0529 | score=2.714753 | normalized=0.8443
|
| 21 |
+
13. dim 0090 | score=2.714646 | normalized=0.8443
|
| 22 |
+
14. dim 0394 | score=2.684420 | normalized=0.8349
|
| 23 |
+
15. dim 1249 | score=2.673448 | normalized=0.8315
|
| 24 |
+
16. dim 1647 | score=2.625972 | normalized=0.8167
|
| 25 |
+
17. dim 0294 | score=2.610163 | normalized=0.8118
|
| 26 |
+
18. dim 0457 | score=2.591562 | normalized=0.8060
|
| 27 |
+
19. dim 0263 | score=2.585209 | normalized=0.8040
|
| 28 |
+
20. dim 0035 | score=2.580578 | normalized=0.8026
|
| 29 |
+
21. dim 1074 | score=2.559113 | normalized=0.7959
|
| 30 |
+
22. dim 1043 | score=2.549468 | normalized=0.7929
|
| 31 |
+
23. dim 1714 | score=2.543901 | normalized=0.7912
|
| 32 |
+
24. dim 0948 | score=2.543758 | normalized=0.7911
|
| 33 |
+
25. dim 1903 | score=2.533813 | normalized=0.7881
|
| 34 |
+
26. dim 1154 | score=2.530563 | normalized=0.7870
|
| 35 |
+
27. dim 0695 | score=2.530224 | normalized=0.7869
|
| 36 |
+
28. dim 0124 | score=2.526446 | normalized=0.7858
|
| 37 |
+
29. dim 0150 | score=2.513446 | normalized=0.7817
|
| 38 |
+
30. dim 1269 | score=2.508722 | normalized=0.7802
|
| 39 |
+
31. dim 1897 | score=2.506876 | normalized=0.7797
|
| 40 |
+
32. dim 1471 | score=2.490480 | normalized=0.7746
|
| 41 |
+
|
| 42 |
+
Coverage milestones:
|
| 43 |
+
- Top 188 dims explain 25% of energy
|
| 44 |
+
- Top 466 dims explain 50% of energy
|
| 45 |
+
- Top 1266 dims explain 90% of energy
|
| 46 |
+
|
| 47 |
+
Scores = mean absolute activation over frames/batch.
|
SignX/{detailed_prediction_20260101_150706/632051/attention_weights.npy → pose_vit_feature_analysis_3381121/cumulative_importance.png}
RENAMED
|
File without changes
|
SignX/{detailed_prediction_20260101_150706/632051/frame_alignment.pdf → pose_vit_feature_analysis_3381121/dimension_heatmap.pdf}
RENAMED
|
Binary files a/SignX/detailed_prediction_20260101_150706/632051/frame_alignment.pdf and b/SignX/pose_vit_feature_analysis_3381121/dimension_heatmap.pdf differ
|
|
|
SignX/{detailed_prediction_20260101_150706/632051/frame_alignment.png → pose_vit_feature_analysis_3381121/dimension_heatmap.png}
RENAMED
|
File without changes
|
SignX/pose_vit_feature_analysis_3381121/dimension_scores.csv
ADDED
|
@@ -0,0 +1,2049 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dimension,score,normalized
|
| 2 |
+
0,0.88709199,0.275898
|
| 3 |
+
1,1.18115377,0.367355
|
| 4 |
+
2,0.88568354,0.275460
|
| 5 |
+
3,0.58466518,0.181839
|
| 6 |
+
4,0.32156524,0.100011
|
| 7 |
+
5,0.01148677,0.003573
|
| 8 |
+
6,0.66033083,0.205372
|
| 9 |
+
7,1.47658801,0.459240
|
| 10 |
+
8,2.30655289,0.717371
|
| 11 |
+
9,0.07449222,0.023168
|
| 12 |
+
10,1.32200432,0.411162
|
| 13 |
+
11,0.37853348,0.117729
|
| 14 |
+
12,0.21891162,0.068085
|
| 15 |
+
13,0.22356087,0.069531
|
| 16 |
+
14,0.55079514,0.171305
|
| 17 |
+
15,0.27126414,0.084367
|
| 18 |
+
16,2.15650249,0.670703
|
| 19 |
+
17,1.27367187,0.396130
|
| 20 |
+
18,0.02949718,0.009174
|
| 21 |
+
19,0.06143405,0.019107
|
| 22 |
+
20,0.39546210,0.122994
|
| 23 |
+
21,0.68551326,0.213204
|
| 24 |
+
22,1.26667166,0.393953
|
| 25 |
+
23,0.43529254,0.135382
|
| 26 |
+
24,1.68010497,0.522536
|
| 27 |
+
25,0.27958587,0.086955
|
| 28 |
+
26,0.19040075,0.059217
|
| 29 |
+
27,0.52917790,0.164582
|
| 30 |
+
28,0.55665815,0.173129
|
| 31 |
+
29,1.12376785,0.349508
|
| 32 |
+
30,0.32205516,0.100164
|
| 33 |
+
31,0.24993150,0.077732
|
| 34 |
+
32,0.51572955,0.160399
|
| 35 |
+
33,0.95172954,0.296001
|
| 36 |
+
34,0.37635869,0.117053
|
| 37 |
+
35,2.58057833,0.802596
|
| 38 |
+
36,1.19017899,0.370162
|
| 39 |
+
37,0.01688074,0.005250
|
| 40 |
+
38,0.81481665,0.253419
|
| 41 |
+
39,0.79680037,0.247816
|
| 42 |
+
40,1.42673051,0.443733
|
| 43 |
+
41,0.95811301,0.297987
|
| 44 |
+
42,1.09712934,0.341223
|
| 45 |
+
43,0.52642637,0.163726
|
| 46 |
+
44,0.80748475,0.251139
|
| 47 |
+
45,0.53124100,0.165223
|
| 48 |
+
46,1.17667043,0.365961
|
| 49 |
+
47,0.01478702,0.004599
|
| 50 |
+
48,0.55968469,0.174070
|
| 51 |
+
49,0.69573665,0.216384
|
| 52 |
+
50,0.97070330,0.301902
|
| 53 |
+
51,0.67364120,0.209512
|
| 54 |
+
52,1.67102873,0.519714
|
| 55 |
+
53,0.03983760,0.012390
|
| 56 |
+
54,0.21166840,0.065832
|
| 57 |
+
55,0.86003995,0.267485
|
| 58 |
+
56,0.27010778,0.084007
|
| 59 |
+
57,0.09700842,0.030171
|
| 60 |
+
58,0.28331941,0.088116
|
| 61 |
+
59,0.02182217,0.006787
|
| 62 |
+
60,0.03344060,0.010401
|
| 63 |
+
61,0.93612450,0.291148
|
| 64 |
+
62,0.23919651,0.074393
|
| 65 |
+
63,0.41309589,0.128479
|
| 66 |
+
64,1.95940721,0.609403
|
| 67 |
+
65,0.85807192,0.266872
|
| 68 |
+
66,0.90428960,0.281247
|
| 69 |
+
67,1.11280310,0.346097
|
| 70 |
+
68,0.19624946,0.061036
|
| 71 |
+
69,0.34786409,0.108191
|
| 72 |
+
70,0.86257648,0.268273
|
| 73 |
+
71,0.43996602,0.136836
|
| 74 |
+
72,0.15143940,0.047100
|
| 75 |
+
73,0.42630124,0.132586
|
| 76 |
+
74,0.04736671,0.014732
|
| 77 |
+
75,0.45382690,0.141147
|
| 78 |
+
76,1.11086559,0.345495
|
| 79 |
+
77,1.18197787,0.367612
|
| 80 |
+
78,1.08152652,0.336370
|
| 81 |
+
79,0.34376574,0.106916
|
| 82 |
+
80,0.45309824,0.140920
|
| 83 |
+
81,1.27426100,0.396313
|
| 84 |
+
82,0.44757450,0.139202
|
| 85 |
+
83,0.66144949,0.205720
|
| 86 |
+
84,1.05606639,0.328452
|
| 87 |
+
85,0.27149749,0.084440
|
| 88 |
+
86,1.03622794,0.322282
|
| 89 |
+
87,0.60312867,0.187582
|
| 90 |
+
88,1.76084363,0.547647
|
| 91 |
+
89,0.96146584,0.299029
|
| 92 |
+
90,2.71464586,0.844293
|
| 93 |
+
91,0.39515337,0.122898
|
| 94 |
+
92,0.70696044,0.219875
|
| 95 |
+
93,2.08189964,0.647500
|
| 96 |
+
94,0.33178651,0.103190
|
| 97 |
+
95,1.18660116,0.369050
|
| 98 |
+
96,0.15302166,0.047592
|
| 99 |
+
97,0.70548314,0.219415
|
| 100 |
+
98,1.10864949,0.344806
|
| 101 |
+
99,0.42909515,0.133455
|
| 102 |
+
100,1.30810237,0.406838
|
| 103 |
+
101,0.62672669,0.194921
|
| 104 |
+
102,0.02889449,0.008987
|
| 105 |
+
103,0.12874995,0.040043
|
| 106 |
+
104,0.33353913,0.103735
|
| 107 |
+
105,0.06517763,0.020271
|
| 108 |
+
106,0.03299806,0.010263
|
| 109 |
+
107,0.90998137,0.283017
|
| 110 |
+
108,0.20286071,0.063093
|
| 111 |
+
109,0.19170117,0.059622
|
| 112 |
+
110,0.61091733,0.190004
|
| 113 |
+
111,1.24194169,0.386261
|
| 114 |
+
112,0.18769008,0.058374
|
| 115 |
+
113,0.20996387,0.065302
|
| 116 |
+
114,1.55645216,0.484079
|
| 117 |
+
115,1.33106780,0.413981
|
| 118 |
+
116,0.74189395,0.230739
|
| 119 |
+
117,1.33330953,0.414678
|
| 120 |
+
118,0.84272945,0.262101
|
| 121 |
+
119,1.75513399,0.545871
|
| 122 |
+
120,0.31789082,0.098869
|
| 123 |
+
121,0.89582396,0.278614
|
| 124 |
+
122,0.85141373,0.264802
|
| 125 |
+
123,0.16913953,0.052605
|
| 126 |
+
124,2.52644610,0.785760
|
| 127 |
+
125,1.41299832,0.439462
|
| 128 |
+
126,0.35419077,0.110158
|
| 129 |
+
127,0.67600858,0.210248
|
| 130 |
+
128,2.21888494,0.690105
|
| 131 |
+
129,0.47575620,0.147967
|
| 132 |
+
130,0.09536593,0.029660
|
| 133 |
+
131,0.59784889,0.185939
|
| 134 |
+
132,0.94876534,0.295079
|
| 135 |
+
133,0.00417121,0.001297
|
| 136 |
+
134,1.60290098,0.498525
|
| 137 |
+
135,2.03228593,0.632070
|
| 138 |
+
136,0.60022241,0.186678
|
| 139 |
+
137,1.07358348,0.333900
|
| 140 |
+
138,0.33093271,0.102925
|
| 141 |
+
139,0.49442062,0.153772
|
| 142 |
+
140,0.51690036,0.160763
|
| 143 |
+
141,0.56630862,0.176130
|
| 144 |
+
142,1.11115193,0.345584
|
| 145 |
+
143,0.50786793,0.157954
|
| 146 |
+
144,1.56300831,0.486118
|
| 147 |
+
145,1.69501352,0.527173
|
| 148 |
+
146,1.12619781,0.350263
|
| 149 |
+
147,0.45639169,0.141944
|
| 150 |
+
148,1.20629215,0.375174
|
| 151 |
+
149,0.18427631,0.057313
|
| 152 |
+
150,2.51344609,0.781717
|
| 153 |
+
151,1.93296087,0.601178
|
| 154 |
+
152,0.26065925,0.081069
|
| 155 |
+
153,0.88447773,0.275085
|
| 156 |
+
154,0.90797782,0.282394
|
| 157 |
+
155,1.32749593,0.412870
|
| 158 |
+
156,0.49887663,0.155158
|
| 159 |
+
157,0.08758091,0.027239
|
| 160 |
+
158,1.12450695,0.349738
|
| 161 |
+
159,0.32131058,0.099932
|
| 162 |
+
160,0.79511678,0.247293
|
| 163 |
+
161,0.03889201,0.012096
|
| 164 |
+
162,0.83605683,0.260025
|
| 165 |
+
163,0.30680701,0.095421
|
| 166 |
+
164,0.20191297,0.062798
|
| 167 |
+
165,0.51413196,0.159902
|
| 168 |
+
166,0.54302704,0.168889
|
| 169 |
+
167,0.61088526,0.189994
|
| 170 |
+
168,0.39667273,0.123371
|
| 171 |
+
169,0.66195363,0.205877
|
| 172 |
+
170,1.35777211,0.422286
|
| 173 |
+
171,0.57130992,0.177685
|
| 174 |
+
172,0.70256305,0.218507
|
| 175 |
+
173,0.91606307,0.284909
|
| 176 |
+
174,0.62098539,0.193135
|
| 177 |
+
175,0.81958413,0.254902
|
| 178 |
+
176,0.71746504,0.223142
|
| 179 |
+
177,0.07356557,0.022880
|
| 180 |
+
178,0.89115840,0.277163
|
| 181 |
+
179,0.22527982,0.070065
|
| 182 |
+
180,1.11161828,0.345729
|
| 183 |
+
181,0.03046463,0.009475
|
| 184 |
+
182,0.58173931,0.180929
|
| 185 |
+
183,1.22709227,0.381643
|
| 186 |
+
184,0.32047030,0.099671
|
| 187 |
+
185,0.63841331,0.198556
|
| 188 |
+
186,1.57820773,0.490845
|
| 189 |
+
187,0.51720011,0.160857
|
| 190 |
+
188,2.33663702,0.726727
|
| 191 |
+
189,0.43172342,0.134272
|
| 192 |
+
190,0.52211714,0.162386
|
| 193 |
+
191,0.47653449,0.148209
|
| 194 |
+
192,0.45872688,0.142671
|
| 195 |
+
193,0.06828494,0.021238
|
| 196 |
+
194,0.92290205,0.287036
|
| 197 |
+
195,1.66233182,0.517009
|
| 198 |
+
196,0.33963415,0.105631
|
| 199 |
+
197,1.49796510,0.465888
|
| 200 |
+
198,1.39306748,0.433264
|
| 201 |
+
199,0.02465241,0.007667
|
| 202 |
+
200,0.09340943,0.029052
|
| 203 |
+
201,1.93304229,0.601203
|
| 204 |
+
202,0.24329729,0.075669
|
| 205 |
+
203,0.79698473,0.247873
|
| 206 |
+
204,0.18510619,0.057571
|
| 207 |
+
205,0.09900835,0.030793
|
| 208 |
+
206,1.35422575,0.421183
|
| 209 |
+
207,0.64864165,0.201737
|
| 210 |
+
208,1.47792912,0.459657
|
| 211 |
+
209,1.77593648,0.552341
|
| 212 |
+
210,0.42729437,0.132895
|
| 213 |
+
211,0.51184207,0.159190
|
| 214 |
+
212,0.62348664,0.193913
|
| 215 |
+
213,0.67672330,0.210470
|
| 216 |
+
214,1.99277091,0.619780
|
| 217 |
+
215,0.57893986,0.180058
|
| 218 |
+
216,0.13516012,0.042037
|
| 219 |
+
217,1.05739307,0.328864
|
| 220 |
+
218,0.35356486,0.109964
|
| 221 |
+
219,0.68448222,0.212884
|
| 222 |
+
220,1.08377445,0.337069
|
| 223 |
+
221,0.07566591,0.023533
|
| 224 |
+
222,0.44839177,0.139456
|
| 225 |
+
223,0.75600272,0.235128
|
| 226 |
+
224,0.05289338,0.016451
|
| 227 |
+
225,1.47356212,0.458299
|
| 228 |
+
226,1.49457300,0.464833
|
| 229 |
+
227,0.26337731,0.081914
|
| 230 |
+
228,0.83415520,0.259434
|
| 231 |
+
229,0.86015111,0.267519
|
| 232 |
+
230,0.43156183,0.134222
|
| 233 |
+
231,0.18826464,0.058553
|
| 234 |
+
232,0.79429340,0.247036
|
| 235 |
+
233,0.84441990,0.262626
|
| 236 |
+
234,0.22510047,0.070009
|
| 237 |
+
235,1.44701743,0.450043
|
| 238 |
+
236,0.01410289,0.004386
|
| 239 |
+
237,1.00612545,0.312919
|
| 240 |
+
238,0.31846103,0.099046
|
| 241 |
+
239,1.86179626,0.579045
|
| 242 |
+
240,1.24123645,0.386042
|
| 243 |
+
241,1.10309911,0.343079
|
| 244 |
+
242,1.74403846,0.542421
|
| 245 |
+
243,0.96971428,0.301595
|
| 246 |
+
244,0.99213398,0.308568
|
| 247 |
+
245,0.06676315,0.020764
|
| 248 |
+
246,0.95930386,0.298357
|
| 249 |
+
247,0.53924716,0.167713
|
| 250 |
+
248,1.00001836,0.311020
|
| 251 |
+
249,1.49331009,0.464441
|
| 252 |
+
250,0.65441680,0.203533
|
| 253 |
+
251,0.35428408,0.110187
|
| 254 |
+
252,1.14670444,0.356641
|
| 255 |
+
253,1.87786567,0.584043
|
| 256 |
+
254,0.51148915,0.159080
|
| 257 |
+
255,0.98351848,0.305888
|
| 258 |
+
256,0.16420682,0.051071
|
| 259 |
+
257,0.86251360,0.268254
|
| 260 |
+
258,1.02313685,0.318210
|
| 261 |
+
259,1.18119884,0.367370
|
| 262 |
+
260,0.10361433,0.032226
|
| 263 |
+
261,1.28266811,0.398928
|
| 264 |
+
262,0.58533698,0.182048
|
| 265 |
+
263,2.58520937,0.804037
|
| 266 |
+
264,1.24352360,0.386753
|
| 267 |
+
265,0.95179904,0.296023
|
| 268 |
+
266,0.25942969,0.080686
|
| 269 |
+
267,1.24837303,0.388262
|
| 270 |
+
268,0.09429777,0.029328
|
| 271 |
+
269,0.22463906,0.069866
|
| 272 |
+
270,1.20805049,0.375721
|
| 273 |
+
271,0.49148947,0.152860
|
| 274 |
+
272,0.56164050,0.174678
|
| 275 |
+
273,0.43678933,0.135848
|
| 276 |
+
274,0.33156848,0.103122
|
| 277 |
+
275,0.04216896,0.013115
|
| 278 |
+
276,0.01062765,0.003305
|
| 279 |
+
277,0.18060331,0.056170
|
| 280 |
+
278,0.28288043,0.087980
|
| 281 |
+
279,0.49562669,0.154147
|
| 282 |
+
280,0.44952568,0.139809
|
| 283 |
+
281,0.29364383,0.091327
|
| 284 |
+
282,0.70730507,0.219982
|
| 285 |
+
283,0.41218585,0.128196
|
| 286 |
+
284,1.32628131,0.412492
|
| 287 |
+
285,1.08848882,0.338535
|
| 288 |
+
286,0.98468107,0.306250
|
| 289 |
+
287,0.24820334,0.077195
|
| 290 |
+
288,0.50418055,0.156807
|
| 291 |
+
289,0.49549246,0.154105
|
| 292 |
+
290,0.30793232,0.095771
|
| 293 |
+
291,0.96464503,0.300018
|
| 294 |
+
292,0.01340558,0.004169
|
| 295 |
+
293,0.74983656,0.233210
|
| 296 |
+
294,2.61016321,0.811798
|
| 297 |
+
295,1.07511711,0.334377
|
| 298 |
+
296,1.03074872,0.320577
|
| 299 |
+
297,0.77531147,0.241133
|
| 300 |
+
298,1.36185312,0.423556
|
| 301 |
+
299,0.57920909,0.180142
|
| 302 |
+
300,0.30485880,0.094815
|
| 303 |
+
301,0.30147198,0.093762
|
| 304 |
+
302,0.81286800,0.252813
|
| 305 |
+
303,2.23298120,0.694489
|
| 306 |
+
304,0.37380767,0.116259
|
| 307 |
+
305,0.57698345,0.179450
|
| 308 |
+
306,0.86578006,0.269270
|
| 309 |
+
307,0.13697638,0.042602
|
| 310 |
+
308,1.03512239,0.321938
|
| 311 |
+
309,0.46878439,0.145799
|
| 312 |
+
310,0.22465095,0.069870
|
| 313 |
+
311,0.83185589,0.258719
|
| 314 |
+
312,0.46858838,0.145738
|
| 315 |
+
313,0.03315945,0.010313
|
| 316 |
+
314,1.50106573,0.466853
|
| 317 |
+
315,0.04236583,0.013176
|
| 318 |
+
316,0.76743531,0.238683
|
| 319 |
+
317,0.48568743,0.151056
|
| 320 |
+
318,0.14366676,0.044682
|
| 321 |
+
319,0.51839620,0.161229
|
| 322 |
+
320,0.81481779,0.253420
|
| 323 |
+
321,0.14853173,0.046195
|
| 324 |
+
322,0.51648569,0.160634
|
| 325 |
+
323,0.27620333,0.085903
|
| 326 |
+
324,0.15954894,0.049622
|
| 327 |
+
325,0.00641089,0.001994
|
| 328 |
+
326,0.26413199,0.082149
|
| 329 |
+
327,0.07941107,0.024698
|
| 330 |
+
328,0.11642592,0.036210
|
| 331 |
+
329,0.29042402,0.090326
|
| 332 |
+
330,2.19822216,0.683678
|
| 333 |
+
331,2.27775049,0.708413
|
| 334 |
+
332,0.99178410,0.308459
|
| 335 |
+
333,0.68025815,0.211570
|
| 336 |
+
334,0.24262610,0.075460
|
| 337 |
+
335,0.53829241,0.167417
|
| 338 |
+
336,1.11597157,0.347083
|
| 339 |
+
337,1.24871957,0.388369
|
| 340 |
+
338,0.16063726,0.049960
|
| 341 |
+
339,0.36184964,0.112540
|
| 342 |
+
340,0.24730322,0.076915
|
| 343 |
+
341,1.33894944,0.416432
|
| 344 |
+
342,2.15421915,0.669993
|
| 345 |
+
343,0.59289521,0.184399
|
| 346 |
+
344,0.78511041,0.244180
|
| 347 |
+
345,0.50479889,0.157000
|
| 348 |
+
346,0.21761972,0.067683
|
| 349 |
+
347,0.91461980,0.284460
|
| 350 |
+
348,0.22596297,0.070278
|
| 351 |
+
349,0.69249284,0.215375
|
| 352 |
+
350,1.77845109,0.553123
|
| 353 |
+
351,0.51461834,0.160054
|
| 354 |
+
352,0.09636909,0.029972
|
| 355 |
+
353,1.16671431,0.362865
|
| 356 |
+
354,0.59429109,0.184833
|
| 357 |
+
355,1.03560555,0.322088
|
| 358 |
+
356,0.57184845,0.177853
|
| 359 |
+
357,0.66289240,0.206169
|
| 360 |
+
358,0.77076000,0.239717
|
| 361 |
+
359,0.41088882,0.127792
|
| 362 |
+
360,1.51743937,0.471945
|
| 363 |
+
361,0.24992779,0.077731
|
| 364 |
+
362,1.43027043,0.444834
|
| 365 |
+
363,0.48643893,0.151289
|
| 366 |
+
364,0.81028861,0.252011
|
| 367 |
+
365,1.09311986,0.339976
|
| 368 |
+
366,1.88717747,0.586939
|
| 369 |
+
367,0.83298427,0.259070
|
| 370 |
+
368,0.03672728,0.011423
|
| 371 |
+
369,0.64570236,0.200823
|
| 372 |
+
370,0.66185784,0.205847
|
| 373 |
+
371,0.09605159,0.029873
|
| 374 |
+
372,1.22695231,0.381599
|
| 375 |
+
373,0.94107407,0.292687
|
| 376 |
+
374,0.17764479,0.055250
|
| 377 |
+
375,0.93495119,0.290783
|
| 378 |
+
376,0.21984589,0.068375
|
| 379 |
+
377,0.67591655,0.210220
|
| 380 |
+
378,1.67836475,0.521995
|
| 381 |
+
379,0.55482787,0.172559
|
| 382 |
+
380,0.18295366,0.056901
|
| 383 |
+
381,0.14210600,0.044197
|
| 384 |
+
382,0.97325051,0.302695
|
| 385 |
+
383,1.33468604,0.415106
|
| 386 |
+
384,0.22756052,0.070775
|
| 387 |
+
385,0.60946071,0.189551
|
| 388 |
+
386,0.53754801,0.167185
|
| 389 |
+
387,1.31812930,0.409957
|
| 390 |
+
388,1.35200047,0.420491
|
| 391 |
+
389,1.17150545,0.364355
|
| 392 |
+
390,1.54335773,0.480006
|
| 393 |
+
391,0.72009385,0.223959
|
| 394 |
+
392,0.48247194,0.150056
|
| 395 |
+
393,0.86952388,0.270434
|
| 396 |
+
394,2.68441963,0.834892
|
| 397 |
+
395,0.08090387,0.025162
|
| 398 |
+
396,2.08363223,0.648039
|
| 399 |
+
397,1.68245709,0.523268
|
| 400 |
+
398,1.82081389,0.566299
|
| 401 |
+
399,0.97870475,0.304391
|
| 402 |
+
400,0.79136860,0.246127
|
| 403 |
+
401,0.49299678,0.153329
|
| 404 |
+
402,0.15098111,0.046957
|
| 405 |
+
403,1.41756189,0.440882
|
| 406 |
+
404,2.27447701,0.707394
|
| 407 |
+
405,0.27900261,0.086774
|
| 408 |
+
406,1.84666598,0.574339
|
| 409 |
+
407,0.75594461,0.235109
|
| 410 |
+
408,0.77817672,0.242024
|
| 411 |
+
409,0.16265209,0.050587
|
| 412 |
+
410,1.32752466,0.412879
|
| 413 |
+
411,1.04803610,0.325954
|
| 414 |
+
412,0.82379264,0.256211
|
| 415 |
+
413,0.61580461,0.191524
|
| 416 |
+
414,1.05353427,0.327664
|
| 417 |
+
415,0.73576140,0.228832
|
| 418 |
+
416,1.45045722,0.451113
|
| 419 |
+
417,0.50802243,0.158002
|
| 420 |
+
418,0.94425106,0.293675
|
| 421 |
+
419,0.15465267,0.048099
|
| 422 |
+
420,2.19442630,0.682498
|
| 423 |
+
421,0.49691075,0.154546
|
| 424 |
+
422,1.31038404,0.407548
|
| 425 |
+
423,1.00850892,0.313661
|
| 426 |
+
424,2.36669660,0.736076
|
| 427 |
+
425,0.73766744,0.229425
|
| 428 |
+
426,0.34727818,0.108008
|
| 429 |
+
427,0.88384074,0.274887
|
| 430 |
+
428,1.65219069,0.513855
|
| 431 |
+
429,1.37608099,0.427981
|
| 432 |
+
430,1.16715169,0.363001
|
| 433 |
+
431,0.81237030,0.252659
|
| 434 |
+
432,0.81046760,0.252067
|
| 435 |
+
433,0.10156234,0.031587
|
| 436 |
+
434,0.15120862,0.047028
|
| 437 |
+
435,0.68559033,0.213228
|
| 438 |
+
436,1.15268707,0.358502
|
| 439 |
+
437,0.83061904,0.258334
|
| 440 |
+
438,0.40291283,0.125312
|
| 441 |
+
439,0.78696442,0.244757
|
| 442 |
+
440,0.10043452,0.031237
|
| 443 |
+
441,0.55376238,0.172228
|
| 444 |
+
442,1.23604298,0.384427
|
| 445 |
+
443,0.80115736,0.249171
|
| 446 |
+
444,1.90807033,0.593437
|
| 447 |
+
445,0.55568689,0.172826
|
| 448 |
+
446,0.81576216,0.253714
|
| 449 |
+
447,0.05808714,0.018066
|
| 450 |
+
448,0.67422283,0.209693
|
| 451 |
+
449,0.83075172,0.258375
|
| 452 |
+
450,1.50172400,0.467057
|
| 453 |
+
451,0.54238135,0.168688
|
| 454 |
+
452,1.07205391,0.333424
|
| 455 |
+
453,0.51359814,0.159736
|
| 456 |
+
454,0.59182584,0.184066
|
| 457 |
+
455,1.54813242,0.481491
|
| 458 |
+
456,0.82727474,0.257294
|
| 459 |
+
457,2.59156179,0.806012
|
| 460 |
+
458,0.54445636,0.169334
|
| 461 |
+
459,0.11017153,0.034265
|
| 462 |
+
460,1.01712990,0.316342
|
| 463 |
+
461,0.97673130,0.303777
|
| 464 |
+
462,0.51413083,0.159902
|
| 465 |
+
463,1.26672351,0.393969
|
| 466 |
+
464,0.11332415,0.035245
|
| 467 |
+
465,1.07822263,0.335342
|
| 468 |
+
466,2.19262648,0.681938
|
| 469 |
+
467,1.97627342,0.614649
|
| 470 |
+
468,0.17974612,0.055904
|
| 471 |
+
469,0.12144537,0.037771
|
| 472 |
+
470,0.14444569,0.044925
|
| 473 |
+
471,1.63720882,0.509195
|
| 474 |
+
472,1.34487140,0.418274
|
| 475 |
+
473,0.81955767,0.254894
|
| 476 |
+
474,0.30076599,0.093542
|
| 477 |
+
475,1.12146854,0.348793
|
| 478 |
+
476,1.05190945,0.327159
|
| 479 |
+
477,0.39563835,0.123049
|
| 480 |
+
478,1.06215143,0.330344
|
| 481 |
+
479,0.50290906,0.156412
|
| 482 |
+
480,0.69585890,0.216422
|
| 483 |
+
481,0.82063007,0.255228
|
| 484 |
+
482,0.59617406,0.185419
|
| 485 |
+
483,0.12182165,0.037888
|
| 486 |
+
484,0.45392600,0.141177
|
| 487 |
+
485,1.61153340,0.501210
|
| 488 |
+
486,0.20248829,0.062977
|
| 489 |
+
487,0.25240895,0.078503
|
| 490 |
+
488,0.78041154,0.242719
|
| 491 |
+
489,0.09217775,0.028669
|
| 492 |
+
490,0.26689023,0.083007
|
| 493 |
+
491,0.70183116,0.218279
|
| 494 |
+
492,1.44405460,0.449121
|
| 495 |
+
493,0.45931673,0.142854
|
| 496 |
+
494,0.51555115,0.160344
|
| 497 |
+
495,1.31902194,0.410234
|
| 498 |
+
496,0.33637416,0.104617
|
| 499 |
+
497,0.21223468,0.066008
|
| 500 |
+
498,0.33052310,0.102797
|
| 501 |
+
499,0.15098743,0.046959
|
| 502 |
+
500,0.07440589,0.023141
|
| 503 |
+
501,0.66462690,0.206708
|
| 504 |
+
502,0.11424845,0.035533
|
| 505 |
+
503,0.79828429,0.248278
|
| 506 |
+
504,0.17450193,0.054273
|
| 507 |
+
505,0.06068935,0.018875
|
| 508 |
+
506,0.50313282,0.156481
|
| 509 |
+
507,1.06711018,0.331886
|
| 510 |
+
508,1.27979970,0.398036
|
| 511 |
+
509,0.23594917,0.073384
|
| 512 |
+
510,0.56395721,0.175399
|
| 513 |
+
511,1.55279601,0.482941
|
| 514 |
+
512,1.20284390,0.374101
|
| 515 |
+
513,0.65764368,0.204536
|
| 516 |
+
514,0.57022202,0.177347
|
| 517 |
+
515,2.17262554,0.675717
|
| 518 |
+
516,1.10507190,0.343693
|
| 519 |
+
517,0.64140421,0.199486
|
| 520 |
+
518,0.79378903,0.246880
|
| 521 |
+
519,1.03898501,0.323139
|
| 522 |
+
520,1.11618567,0.347149
|
| 523 |
+
521,1.41931009,0.441425
|
| 524 |
+
522,0.84377289,0.262425
|
| 525 |
+
523,2.21359324,0.688459
|
| 526 |
+
524,0.21806136,0.067820
|
| 527 |
+
525,0.46857268,0.145733
|
| 528 |
+
526,0.34809625,0.108263
|
| 529 |
+
527,0.35742694,0.111165
|
| 530 |
+
528,0.18749811,0.058315
|
| 531 |
+
529,2.71475267,0.844326
|
| 532 |
+
530,0.67750895,0.210715
|
| 533 |
+
531,0.87535357,0.272247
|
| 534 |
+
532,0.80486083,0.250323
|
| 535 |
+
533,0.90808880,0.282428
|
| 536 |
+
534,0.71034443,0.220927
|
| 537 |
+
535,1.31075835,0.407664
|
| 538 |
+
536,0.22633271,0.070393
|
| 539 |
+
537,0.58693045,0.182544
|
| 540 |
+
538,1.78037393,0.553721
|
| 541 |
+
539,0.48230869,0.150005
|
| 542 |
+
540,1.32377934,0.411714
|
| 543 |
+
541,0.73134482,0.227459
|
| 544 |
+
542,1.84442449,0.573642
|
| 545 |
+
543,0.97073829,0.301913
|
| 546 |
+
544,0.70634443,0.219683
|
| 547 |
+
545,0.11349079,0.035297
|
| 548 |
+
546,0.41903192,0.130325
|
| 549 |
+
547,0.17532650,0.054529
|
| 550 |
+
548,0.33116573,0.102997
|
| 551 |
+
549,0.08978248,0.027924
|
| 552 |
+
550,0.73589242,0.228873
|
| 553 |
+
551,0.52032226,0.161828
|
| 554 |
+
552,0.34006816,0.105766
|
| 555 |
+
553,0.19528890,0.060738
|
| 556 |
+
554,0.30817640,0.095847
|
| 557 |
+
555,1.23538876,0.384223
|
| 558 |
+
556,0.31046548,0.096559
|
| 559 |
+
557,0.74826527,0.232721
|
| 560 |
+
558,0.28685185,0.089215
|
| 561 |
+
559,0.36043814,0.112101
|
| 562 |
+
560,2.88177657,0.896273
|
| 563 |
+
561,0.94701326,0.294535
|
| 564 |
+
562,1.22051859,0.379598
|
| 565 |
+
563,0.09756063,0.030343
|
| 566 |
+
564,1.46365547,0.455218
|
| 567 |
+
565,0.13930744,0.043327
|
| 568 |
+
566,1.01351261,0.315217
|
| 569 |
+
567,0.23399381,0.072775
|
| 570 |
+
568,0.34261930,0.106559
|
| 571 |
+
569,0.89477623,0.278288
|
| 572 |
+
570,1.20102584,0.373536
|
| 573 |
+
571,0.25442964,0.079131
|
| 574 |
+
572,0.21394999,0.066541
|
| 575 |
+
573,2.44475126,0.760352
|
| 576 |
+
574,0.12812318,0.039848
|
| 577 |
+
575,0.08415291,0.026173
|
| 578 |
+
576,0.40726134,0.126664
|
| 579 |
+
577,0.27763736,0.086349
|
| 580 |
+
578,0.38494450,0.119723
|
| 581 |
+
579,0.69594181,0.216448
|
| 582 |
+
580,3.08623505,0.959863
|
| 583 |
+
581,0.08141313,0.025321
|
| 584 |
+
582,0.72174358,0.224472
|
| 585 |
+
583,0.81459349,0.253350
|
| 586 |
+
584,0.59402800,0.184751
|
| 587 |
+
585,0.37823302,0.117636
|
| 588 |
+
586,0.35572246,0.110635
|
| 589 |
+
587,0.83471882,0.259609
|
| 590 |
+
588,1.47652078,0.459219
|
| 591 |
+
589,1.18981981,0.370051
|
| 592 |
+
590,0.63643765,0.197941
|
| 593 |
+
591,0.16229093,0.050475
|
| 594 |
+
592,0.11088960,0.034488
|
| 595 |
+
593,2.15907526,0.671503
|
| 596 |
+
594,2.24936914,0.699586
|
| 597 |
+
595,0.30634254,0.095277
|
| 598 |
+
596,0.78316605,0.243576
|
| 599 |
+
597,1.95723855,0.608729
|
| 600 |
+
598,2.32089567,0.721831
|
| 601 |
+
599,0.48849696,0.151929
|
| 602 |
+
600,1.33999062,0.416756
|
| 603 |
+
601,1.23814404,0.385080
|
| 604 |
+
602,0.13485859,0.041943
|
| 605 |
+
603,0.31265751,0.097241
|
| 606 |
+
604,1.40590000,0.437255
|
| 607 |
+
605,0.42792690,0.133091
|
| 608 |
+
606,0.52446067,0.163115
|
| 609 |
+
607,1.01581621,0.315933
|
| 610 |
+
608,0.03172661,0.009867
|
| 611 |
+
609,1.01562726,0.315874
|
| 612 |
+
610,0.36882576,0.114710
|
| 613 |
+
611,0.43397206,0.134971
|
| 614 |
+
612,1.72522569,0.536570
|
| 615 |
+
613,1.92532969,0.598805
|
| 616 |
+
614,0.65840280,0.204773
|
| 617 |
+
615,1.32963133,0.413534
|
| 618 |
+
616,0.76095402,0.236667
|
| 619 |
+
617,0.14631996,0.045508
|
| 620 |
+
618,1.56319165,0.486175
|
| 621 |
+
619,1.47493410,0.458725
|
| 622 |
+
620,0.76938999,0.239291
|
| 623 |
+
621,2.00385427,0.623227
|
| 624 |
+
622,0.59199464,0.184119
|
| 625 |
+
623,0.63490713,0.197465
|
| 626 |
+
624,0.08253447,0.025669
|
| 627 |
+
625,0.64060956,0.199239
|
| 628 |
+
626,0.34184498,0.106319
|
| 629 |
+
627,0.07164413,0.022282
|
| 630 |
+
628,0.72237009,0.224667
|
| 631 |
+
629,0.40602380,0.126279
|
| 632 |
+
630,0.54080409,0.168198
|
| 633 |
+
631,1.72862852,0.537628
|
| 634 |
+
632,1.05373859,0.327728
|
| 635 |
+
633,1.10343504,0.343184
|
| 636 |
+
634,0.25609013,0.079648
|
| 637 |
+
635,2.34346485,0.728851
|
| 638 |
+
636,0.73224652,0.227739
|
| 639 |
+
637,0.50457835,0.156931
|
| 640 |
+
638,0.21172535,0.065850
|
| 641 |
+
639,1.43737721,0.447045
|
| 642 |
+
640,0.67293328,0.209292
|
| 643 |
+
641,0.30325547,0.094317
|
| 644 |
+
642,0.43124461,0.134123
|
| 645 |
+
643,0.75143749,0.233708
|
| 646 |
+
644,0.81194901,0.252528
|
| 647 |
+
645,0.54858673,0.170618
|
| 648 |
+
646,0.26038927,0.080985
|
| 649 |
+
647,0.71870863,0.223529
|
| 650 |
+
648,0.72940379,0.226855
|
| 651 |
+
649,1.31375349,0.408596
|
| 652 |
+
650,0.37419415,0.116380
|
| 653 |
+
651,0.65320086,0.203155
|
| 654 |
+
652,0.48394382,0.150513
|
| 655 |
+
653,0.79130733,0.246108
|
| 656 |
+
654,0.94620883,0.294284
|
| 657 |
+
655,1.77543259,0.552185
|
| 658 |
+
656,1.68776786,0.524920
|
| 659 |
+
657,0.74292123,0.231059
|
| 660 |
+
658,0.33922869,0.105505
|
| 661 |
+
659,0.39568776,0.123064
|
| 662 |
+
660,0.23251890,0.072317
|
| 663 |
+
661,0.49332958,0.153432
|
| 664 |
+
662,0.85914576,0.267206
|
| 665 |
+
663,1.12435770,0.349691
|
| 666 |
+
664,0.50305635,0.156458
|
| 667 |
+
665,1.51684439,0.471760
|
| 668 |
+
666,1.25566447,0.390529
|
| 669 |
+
667,1.27057326,0.395166
|
| 670 |
+
668,0.29072595,0.090420
|
| 671 |
+
669,0.43174434,0.134279
|
| 672 |
+
670,0.47013763,0.146219
|
| 673 |
+
671,0.16898248,0.052556
|
| 674 |
+
672,0.70064342,0.217910
|
| 675 |
+
673,0.56772804,0.176571
|
| 676 |
+
674,1.06605399,0.331558
|
| 677 |
+
675,0.86809784,0.269991
|
| 678 |
+
676,0.47432962,0.147523
|
| 679 |
+
677,0.51831245,0.161202
|
| 680 |
+
678,0.13739143,0.042731
|
| 681 |
+
679,0.61903250,0.192528
|
| 682 |
+
680,0.48659158,0.151337
|
| 683 |
+
681,1.35325909,0.420883
|
| 684 |
+
682,0.77351022,0.240573
|
| 685 |
+
683,0.91779101,0.285446
|
| 686 |
+
684,1.90919614,0.593787
|
| 687 |
+
685,1.60801232,0.500115
|
| 688 |
+
686,0.51447195,0.160008
|
| 689 |
+
687,0.47699556,0.148352
|
| 690 |
+
688,1.60487962,0.499140
|
| 691 |
+
689,0.03441034,0.010702
|
| 692 |
+
690,0.48292688,0.150197
|
| 693 |
+
691,0.26207641,0.081509
|
| 694 |
+
692,1.34913695,0.419601
|
| 695 |
+
693,0.60968417,0.189620
|
| 696 |
+
694,0.88168103,0.274215
|
| 697 |
+
695,2.53022385,0.786935
|
| 698 |
+
696,0.67865175,0.211070
|
| 699 |
+
697,1.08569074,0.337665
|
| 700 |
+
698,1.36275625,0.423836
|
| 701 |
+
699,0.26770160,0.083259
|
| 702 |
+
700,1.27057409,0.395166
|
| 703 |
+
701,0.11073050,0.034439
|
| 704 |
+
702,1.99731970,0.621195
|
| 705 |
+
703,1.48040986,0.460428
|
| 706 |
+
704,0.91355771,0.284129
|
| 707 |
+
705,0.18474999,0.057460
|
| 708 |
+
706,0.49923083,0.155268
|
| 709 |
+
707,1.51315904,0.470614
|
| 710 |
+
708,0.28606296,0.088970
|
| 711 |
+
709,1.28031266,0.398195
|
| 712 |
+
710,0.32878625,0.102257
|
| 713 |
+
711,0.63418931,0.197242
|
| 714 |
+
712,0.35729811,0.111125
|
| 715 |
+
713,0.27785766,0.086418
|
| 716 |
+
714,0.22243817,0.069181
|
| 717 |
+
715,1.45346284,0.452047
|
| 718 |
+
716,0.05908950,0.018378
|
| 719 |
+
717,1.13985848,0.354512
|
| 720 |
+
718,0.61213148,0.190382
|
| 721 |
+
719,0.52903134,0.164536
|
| 722 |
+
720,0.59540486,0.185179
|
| 723 |
+
721,1.12073064,0.348563
|
| 724 |
+
722,1.66586888,0.518109
|
| 725 |
+
723,0.05589804,0.017385
|
| 726 |
+
724,0.47896186,0.148964
|
| 727 |
+
725,2.03813028,0.633887
|
| 728 |
+
726,0.48710120,0.151495
|
| 729 |
+
727,0.35935289,0.111764
|
| 730 |
+
728,0.65874350,0.204879
|
| 731 |
+
729,0.76053429,0.236537
|
| 732 |
+
730,0.66512913,0.206865
|
| 733 |
+
731,1.49272776,0.464259
|
| 734 |
+
732,1.60336542,0.498669
|
| 735 |
+
733,1.07036114,0.332897
|
| 736 |
+
734,0.79791284,0.248162
|
| 737 |
+
735,0.03265513,0.010156
|
| 738 |
+
736,0.08822229,0.027438
|
| 739 |
+
737,0.74152124,0.230624
|
| 740 |
+
738,0.25417981,0.079054
|
| 741 |
+
739,1.53394985,0.477080
|
| 742 |
+
740,1.94315434,0.604348
|
| 743 |
+
741,0.00800559,0.002490
|
| 744 |
+
742,1.09149265,0.339470
|
| 745 |
+
743,0.54598761,0.169810
|
| 746 |
+
744,0.69440937,0.215971
|
| 747 |
+
745,0.38216326,0.118858
|
| 748 |
+
746,0.67735529,0.210667
|
| 749 |
+
747,2.76279974,0.859270
|
| 750 |
+
748,0.92747277,0.288457
|
| 751 |
+
749,0.21702051,0.067496
|
| 752 |
+
750,1.80608594,0.561718
|
| 753 |
+
751,0.10867026,0.033798
|
| 754 |
+
752,0.41845050,0.130144
|
| 755 |
+
753,0.72654504,0.225966
|
| 756 |
+
754,0.14391883,0.044761
|
| 757 |
+
755,0.78274655,0.243445
|
| 758 |
+
756,0.05645002,0.017557
|
| 759 |
+
757,1.62456989,0.505264
|
| 760 |
+
758,0.52929753,0.164619
|
| 761 |
+
759,1.22262168,0.380253
|
| 762 |
+
760,0.93922949,0.292114
|
| 763 |
+
761,0.03089993,0.009610
|
| 764 |
+
762,2.38464117,0.741657
|
| 765 |
+
763,0.97341019,0.302744
|
| 766 |
+
764,0.60774326,0.189017
|
| 767 |
+
765,1.22980762,0.382488
|
| 768 |
+
766,0.66008961,0.205297
|
| 769 |
+
767,1.15333498,0.358703
|
| 770 |
+
768,0.83570254,0.259915
|
| 771 |
+
769,0.95941603,0.298392
|
| 772 |
+
770,1.40260172,0.436229
|
| 773 |
+
771,0.13859297,0.043104
|
| 774 |
+
772,1.24284065,0.386541
|
| 775 |
+
773,1.54254580,0.479754
|
| 776 |
+
774,0.54729259,0.170216
|
| 777 |
+
775,0.09353350,0.029090
|
| 778 |
+
776,0.84468752,0.262710
|
| 779 |
+
777,0.24478281,0.076131
|
| 780 |
+
778,0.09784767,0.030432
|
| 781 |
+
779,0.12094186,0.037615
|
| 782 |
+
780,0.45294040,0.140871
|
| 783 |
+
781,0.74062359,0.230344
|
| 784 |
+
782,0.76370400,0.237523
|
| 785 |
+
783,0.91200888,0.283648
|
| 786 |
+
784,0.57412231,0.178560
|
| 787 |
+
785,1.48376274,0.461471
|
| 788 |
+
786,0.99890369,0.310673
|
| 789 |
+
787,1.25252271,0.389552
|
| 790 |
+
788,0.65184879,0.202734
|
| 791 |
+
789,2.46359205,0.766212
|
| 792 |
+
790,0.19611178,0.060994
|
| 793 |
+
791,1.85150635,0.575845
|
| 794 |
+
792,0.47725189,0.148432
|
| 795 |
+
793,0.46556538,0.144797
|
| 796 |
+
794,1.16598845,0.362639
|
| 797 |
+
795,0.40440321,0.125775
|
| 798 |
+
796,1.76964164,0.550384
|
| 799 |
+
797,1.20013905,0.373260
|
| 800 |
+
798,0.63409603,0.197213
|
| 801 |
+
799,1.84746003,0.574586
|
| 802 |
+
800,0.75954342,0.236229
|
| 803 |
+
801,0.00073639,0.000229
|
| 804 |
+
802,0.24402159,0.075894
|
| 805 |
+
803,1.63483071,0.508455
|
| 806 |
+
804,1.02274978,0.318090
|
| 807 |
+
805,1.06508279,0.331256
|
| 808 |
+
806,0.53743023,0.167148
|
| 809 |
+
807,0.70346308,0.218787
|
| 810 |
+
808,0.51684511,0.160746
|
| 811 |
+
809,0.12373198,0.038482
|
| 812 |
+
810,0.16661197,0.051819
|
| 813 |
+
811,1.54701042,0.481142
|
| 814 |
+
812,0.63688433,0.198080
|
| 815 |
+
813,1.06528151,0.331318
|
| 816 |
+
814,0.25848490,0.080392
|
| 817 |
+
815,0.09277791,0.028855
|
| 818 |
+
816,1.03175163,0.320889
|
| 819 |
+
817,0.90797269,0.282392
|
| 820 |
+
818,0.02257185,0.007020
|
| 821 |
+
819,0.41087729,0.127789
|
| 822 |
+
820,0.73564404,0.228796
|
| 823 |
+
821,0.75876784,0.235988
|
| 824 |
+
822,0.50843728,0.158131
|
| 825 |
+
823,0.68065083,0.211692
|
| 826 |
+
824,1.18423581,0.368314
|
| 827 |
+
825,0.58695376,0.182551
|
| 828 |
+
826,0.92961323,0.289123
|
| 829 |
+
827,1.10550618,0.343828
|
| 830 |
+
828,1.97860575,0.615374
|
| 831 |
+
829,0.38376671,0.119357
|
| 832 |
+
830,0.49849415,0.155039
|
| 833 |
+
831,0.20596144,0.064057
|
| 834 |
+
832,1.34630239,0.418719
|
| 835 |
+
833,1.62574232,0.505629
|
| 836 |
+
834,1.88855004,0.587366
|
| 837 |
+
835,1.19574332,0.371893
|
| 838 |
+
836,2.24000931,0.696675
|
| 839 |
+
837,2.04540682,0.636150
|
| 840 |
+
838,0.97957522,0.304662
|
| 841 |
+
839,0.14831057,0.046127
|
| 842 |
+
840,1.58303833,0.492347
|
| 843 |
+
841,1.03317475,0.321332
|
| 844 |
+
842,1.24549866,0.387368
|
| 845 |
+
843,1.44044280,0.447998
|
| 846 |
+
844,1.20508194,0.374797
|
| 847 |
+
845,2.44513559,0.760472
|
| 848 |
+
846,1.40799427,0.437906
|
| 849 |
+
847,0.75322485,0.234264
|
| 850 |
+
848,0.32073846,0.099754
|
| 851 |
+
849,0.21323152,0.066318
|
| 852 |
+
850,0.82061696,0.255223
|
| 853 |
+
851,0.19913217,0.061933
|
| 854 |
+
852,0.68249571,0.212266
|
| 855 |
+
853,1.75846827,0.546908
|
| 856 |
+
854,1.99713671,0.621138
|
| 857 |
+
855,0.08386762,0.026084
|
| 858 |
+
856,2.30625486,0.717278
|
| 859 |
+
857,0.40241203,0.125156
|
| 860 |
+
858,0.18518455,0.057595
|
| 861 |
+
859,0.76756656,0.238724
|
| 862 |
+
860,0.57139421,0.177712
|
| 863 |
+
861,0.05678050,0.017660
|
| 864 |
+
862,0.16075429,0.049997
|
| 865 |
+
863,0.08755130,0.027230
|
| 866 |
+
864,1.33080077,0.413898
|
| 867 |
+
865,1.21877074,0.379055
|
| 868 |
+
866,0.43416831,0.135032
|
| 869 |
+
867,1.21377945,0.377503
|
| 870 |
+
868,0.98914504,0.307638
|
| 871 |
+
869,1.53810215,0.478371
|
| 872 |
+
870,0.27820784,0.086527
|
| 873 |
+
871,0.62810838,0.195351
|
| 874 |
+
872,1.51911461,0.472466
|
| 875 |
+
873,0.05630219,0.017511
|
| 876 |
+
874,1.06358588,0.330790
|
| 877 |
+
875,0.68720567,0.213731
|
| 878 |
+
876,0.21117252,0.065678
|
| 879 |
+
877,0.23014557,0.071579
|
| 880 |
+
878,0.39077654,0.121537
|
| 881 |
+
879,0.00781817,0.002432
|
| 882 |
+
880,1.15517569,0.359276
|
| 883 |
+
881,0.84295416,0.262171
|
| 884 |
+
882,0.16848764,0.052402
|
| 885 |
+
883,1.94151449,0.603838
|
| 886 |
+
884,0.82819152,0.257579
|
| 887 |
+
885,1.79549146,0.558423
|
| 888 |
+
886,0.11610208,0.036109
|
| 889 |
+
887,3.02874088,0.941981
|
| 890 |
+
888,1.53185058,0.476427
|
| 891 |
+
889,0.02698953,0.008394
|
| 892 |
+
890,0.45648614,0.141974
|
| 893 |
+
891,0.20916346,0.065053
|
| 894 |
+
892,0.43655908,0.135776
|
| 895 |
+
893,0.59168911,0.184024
|
| 896 |
+
894,1.05299723,0.327497
|
| 897 |
+
895,0.44712928,0.139064
|
| 898 |
+
896,0.39376426,0.122466
|
| 899 |
+
897,1.88320756,0.585704
|
| 900 |
+
898,0.89800608,0.279293
|
| 901 |
+
899,0.12446234,0.038710
|
| 902 |
+
900,0.74723268,0.232400
|
| 903 |
+
901,0.79032409,0.245802
|
| 904 |
+
902,0.49864182,0.155085
|
| 905 |
+
903,0.42786169,0.133071
|
| 906 |
+
904,0.94182783,0.292922
|
| 907 |
+
905,0.43227246,0.134443
|
| 908 |
+
906,0.71914822,0.223665
|
| 909 |
+
907,0.21314895,0.066292
|
| 910 |
+
908,0.32653996,0.101559
|
| 911 |
+
909,0.45755586,0.142306
|
| 912 |
+
910,1.84499216,0.573819
|
| 913 |
+
911,0.25890207,0.080522
|
| 914 |
+
912,1.03663588,0.322408
|
| 915 |
+
913,1.89202070,0.588445
|
| 916 |
+
914,0.29506871,0.091771
|
| 917 |
+
915,1.38559473,0.430940
|
| 918 |
+
916,0.77780938,0.241910
|
| 919 |
+
917,1.83865476,0.571848
|
| 920 |
+
918,0.83847135,0.260776
|
| 921 |
+
919,0.90479261,0.281403
|
| 922 |
+
920,0.11791117,0.036672
|
| 923 |
+
921,1.19375181,0.371274
|
| 924 |
+
922,0.24834877,0.077240
|
| 925 |
+
923,0.66794044,0.207739
|
| 926 |
+
924,0.83293337,0.259054
|
| 927 |
+
925,0.17682052,0.054994
|
| 928 |
+
926,0.37380013,0.116257
|
| 929 |
+
927,0.72318494,0.224921
|
| 930 |
+
928,0.65897512,0.204951
|
| 931 |
+
929,0.71510071,0.222406
|
| 932 |
+
930,0.20523387,0.063831
|
| 933 |
+
931,1.59913766,0.497354
|
| 934 |
+
932,0.54166019,0.168464
|
| 935 |
+
933,1.33954227,0.416617
|
| 936 |
+
934,0.22131422,0.068832
|
| 937 |
+
935,1.45296848,0.451894
|
| 938 |
+
936,1.73446321,0.539443
|
| 939 |
+
937,0.18456158,0.057401
|
| 940 |
+
938,0.36445418,0.113350
|
| 941 |
+
939,1.16129136,0.361178
|
| 942 |
+
940,1.23953366,0.385512
|
| 943 |
+
941,1.08416510,0.337191
|
| 944 |
+
942,0.42456800,0.132047
|
| 945 |
+
943,0.08953071,0.027845
|
| 946 |
+
944,0.17632990,0.054841
|
| 947 |
+
945,1.02768207,0.319624
|
| 948 |
+
946,0.02860547,0.008897
|
| 949 |
+
947,0.20995203,0.065298
|
| 950 |
+
948,2.54375839,0.791145
|
| 951 |
+
949,0.00838582,0.002608
|
| 952 |
+
950,0.17946056,0.055815
|
| 953 |
+
951,1.19865298,0.372798
|
| 954 |
+
952,0.16693088,0.051918
|
| 955 |
+
953,1.33959556,0.416633
|
| 956 |
+
954,0.60220242,0.187293
|
| 957 |
+
955,1.82792532,0.568511
|
| 958 |
+
956,0.26859701,0.083537
|
| 959 |
+
957,0.73804814,0.229543
|
| 960 |
+
958,0.93869263,0.291947
|
| 961 |
+
959,0.20940030,0.065126
|
| 962 |
+
960,0.64276761,0.199910
|
| 963 |
+
961,0.14145733,0.043995
|
| 964 |
+
962,0.83232450,0.258865
|
| 965 |
+
963,0.54616076,0.169864
|
| 966 |
+
964,0.62411481,0.194109
|
| 967 |
+
965,0.75115865,0.233621
|
| 968 |
+
966,0.38794267,0.120656
|
| 969 |
+
967,1.62649059,0.505862
|
| 970 |
+
968,0.39882264,0.124039
|
| 971 |
+
969,0.25890177,0.080522
|
| 972 |
+
970,0.03578946,0.011131
|
| 973 |
+
971,1.33516586,0.415255
|
| 974 |
+
972,1.18528914,0.368642
|
| 975 |
+
973,0.49755767,0.154747
|
| 976 |
+
974,0.50495332,0.157048
|
| 977 |
+
975,0.26796296,0.083340
|
| 978 |
+
976,1.02141953,0.317676
|
| 979 |
+
977,0.12356673,0.038431
|
| 980 |
+
978,0.85094392,0.264656
|
| 981 |
+
979,0.25838530,0.080361
|
| 982 |
+
980,0.89723653,0.279053
|
| 983 |
+
981,0.64115673,0.199409
|
| 984 |
+
982,0.30375031,0.094471
|
| 985 |
+
983,0.40724635,0.126659
|
| 986 |
+
984,0.88045323,0.273833
|
| 987 |
+
985,0.86598223,0.269333
|
| 988 |
+
986,1.56570649,0.486957
|
| 989 |
+
987,1.33788490,0.416101
|
| 990 |
+
988,0.39618391,0.123219
|
| 991 |
+
989,2.04204988,0.635106
|
| 992 |
+
990,1.58816385,0.493941
|
| 993 |
+
991,0.98306513,0.305747
|
| 994 |
+
992,0.69254613,0.215392
|
| 995 |
+
993,2.33375549,0.725831
|
| 996 |
+
994,0.75674570,0.235359
|
| 997 |
+
995,0.66985178,0.208333
|
| 998 |
+
996,0.51301157,0.159554
|
| 999 |
+
997,1.15043032,0.357800
|
| 1000 |
+
998,0.40556657,0.126137
|
| 1001 |
+
999,0.11846410,0.036844
|
| 1002 |
+
1000,1.01023984,0.314199
|
| 1003 |
+
1001,0.62980962,0.195880
|
| 1004 |
+
1002,0.10852304,0.033752
|
| 1005 |
+
1003,0.10618564,0.033025
|
| 1006 |
+
1004,1.61419785,0.502038
|
| 1007 |
+
1005,0.04993991,0.015532
|
| 1008 |
+
1006,0.08497237,0.026428
|
| 1009 |
+
1007,0.01233456,0.003836
|
| 1010 |
+
1008,0.07625500,0.023716
|
| 1011 |
+
1009,0.51828432,0.161194
|
| 1012 |
+
1010,1.43698394,0.446922
|
| 1013 |
+
1011,0.87029809,0.270675
|
| 1014 |
+
1012,2.35264778,0.731707
|
| 1015 |
+
1013,0.67891479,0.211152
|
| 1016 |
+
1014,0.19545288,0.060789
|
| 1017 |
+
1015,0.31675377,0.098515
|
| 1018 |
+
1016,0.66605806,0.207153
|
| 1019 |
+
1017,1.36691976,0.425131
|
| 1020 |
+
1018,0.65228450,0.202870
|
| 1021 |
+
1019,2.19324541,0.682130
|
| 1022 |
+
1020,1.17499614,0.365440
|
| 1023 |
+
1021,0.51606023,0.160502
|
| 1024 |
+
1022,0.05493054,0.017084
|
| 1025 |
+
1023,1.28952241,0.401060
|
| 1026 |
+
1024,1.53053164,0.476017
|
| 1027 |
+
1025,0.02516531,0.007827
|
| 1028 |
+
1026,0.82981533,0.258084
|
| 1029 |
+
1027,0.86597252,0.269330
|
| 1030 |
+
1028,0.49167359,0.152917
|
| 1031 |
+
1029,0.34557262,0.107478
|
| 1032 |
+
1030,0.76730806,0.238644
|
| 1033 |
+
1031,0.25511116,0.079343
|
| 1034 |
+
1032,0.74042875,0.230284
|
| 1035 |
+
1033,0.81928158,0.254808
|
| 1036 |
+
1034,0.28471678,0.088551
|
| 1037 |
+
1035,1.16108596,0.361114
|
| 1038 |
+
1036,1.27422678,0.396303
|
| 1039 |
+
1037,0.25243130,0.078510
|
| 1040 |
+
1038,1.32222283,0.411230
|
| 1041 |
+
1039,0.90713096,0.282131
|
| 1042 |
+
1040,1.43604231,0.446629
|
| 1043 |
+
1041,0.50582957,0.157320
|
| 1044 |
+
1042,0.58700544,0.182567
|
| 1045 |
+
1043,2.54946804,0.792921
|
| 1046 |
+
1044,1.66024303,0.516359
|
| 1047 |
+
1045,0.67072797,0.208606
|
| 1048 |
+
1046,1.07083750,0.333046
|
| 1049 |
+
1047,0.62930173,0.195722
|
| 1050 |
+
1048,0.25129455,0.078156
|
| 1051 |
+
1049,1.05374420,0.327729
|
| 1052 |
+
1050,0.37201461,0.115702
|
| 1053 |
+
1051,0.49595368,0.154249
|
| 1054 |
+
1052,0.43695408,0.135899
|
| 1055 |
+
1053,0.69608933,0.216494
|
| 1056 |
+
1054,1.06162488,0.330180
|
| 1057 |
+
1055,1.25499105,0.390320
|
| 1058 |
+
1056,0.73273265,0.227890
|
| 1059 |
+
1057,0.14186653,0.044122
|
| 1060 |
+
1058,0.16957939,0.052742
|
| 1061 |
+
1059,1.17131615,0.364296
|
| 1062 |
+
1060,2.45754337,0.764331
|
| 1063 |
+
1061,1.70306563,0.529677
|
| 1064 |
+
1062,2.09295130,0.650937
|
| 1065 |
+
1063,0.71775800,0.223233
|
| 1066 |
+
1064,0.70475769,0.219190
|
| 1067 |
+
1065,0.35801995,0.111349
|
| 1068 |
+
1066,0.67726511,0.210639
|
| 1069 |
+
1067,1.08908010,0.338719
|
| 1070 |
+
1068,1.96266794,0.610417
|
| 1071 |
+
1069,1.77629590,0.552453
|
| 1072 |
+
1070,1.00437665,0.312375
|
| 1073 |
+
1071,0.44450778,0.138248
|
| 1074 |
+
1072,0.88114798,0.274049
|
| 1075 |
+
1073,0.56356132,0.175276
|
| 1076 |
+
1074,2.55911255,0.795920
|
| 1077 |
+
1075,0.58606464,0.182274
|
| 1078 |
+
1076,2.00442958,0.623406
|
| 1079 |
+
1077,1.34999299,0.419867
|
| 1080 |
+
1078,0.17904595,0.055686
|
| 1081 |
+
1079,0.04122919,0.012823
|
| 1082 |
+
1080,0.07018289,0.021828
|
| 1083 |
+
1081,1.78120780,0.553981
|
| 1084 |
+
1082,0.32351041,0.100616
|
| 1085 |
+
1083,1.72646177,0.536954
|
| 1086 |
+
1084,0.28196418,0.087695
|
| 1087 |
+
1085,0.22608590,0.070316
|
| 1088 |
+
1086,2.00798297,0.624511
|
| 1089 |
+
1087,0.67594481,0.210228
|
| 1090 |
+
1088,0.72573078,0.225713
|
| 1091 |
+
1089,0.21758509,0.067672
|
| 1092 |
+
1090,0.58831704,0.182975
|
| 1093 |
+
1091,0.42966047,0.133630
|
| 1094 |
+
1092,0.79960310,0.248688
|
| 1095 |
+
1093,0.47167113,0.146696
|
| 1096 |
+
1094,0.82355386,0.256137
|
| 1097 |
+
1095,0.41295081,0.128434
|
| 1098 |
+
1096,1.11266541,0.346055
|
| 1099 |
+
1097,0.04919697,0.015301
|
| 1100 |
+
1098,0.39377791,0.122470
|
| 1101 |
+
1099,0.90109861,0.280254
|
| 1102 |
+
1100,0.00356963,0.001110
|
| 1103 |
+
1101,1.68177450,0.523056
|
| 1104 |
+
1102,0.23341782,0.072596
|
| 1105 |
+
1103,0.09295969,0.028912
|
| 1106 |
+
1104,0.45319253,0.140949
|
| 1107 |
+
1105,0.55960232,0.174044
|
| 1108 |
+
1106,0.18084630,0.056246
|
| 1109 |
+
1107,0.66406918,0.206535
|
| 1110 |
+
1108,0.51274592,0.159471
|
| 1111 |
+
1109,0.82722735,0.257279
|
| 1112 |
+
1110,0.03065448,0.009534
|
| 1113 |
+
1111,0.02180463,0.006782
|
| 1114 |
+
1112,1.31956506,0.410403
|
| 1115 |
+
1113,0.63811040,0.198461
|
| 1116 |
+
1114,1.51446939,0.471021
|
| 1117 |
+
1115,1.98359370,0.616926
|
| 1118 |
+
1116,0.51803875,0.161117
|
| 1119 |
+
1117,0.14990173,0.046622
|
| 1120 |
+
1118,0.51809275,0.161134
|
| 1121 |
+
1119,0.90878409,0.282645
|
| 1122 |
+
1120,0.71150380,0.221288
|
| 1123 |
+
1121,0.22882189,0.071167
|
| 1124 |
+
1122,0.46537423,0.144738
|
| 1125 |
+
1123,0.70516884,0.219317
|
| 1126 |
+
1124,0.78191078,0.243185
|
| 1127 |
+
1125,0.75460011,0.234691
|
| 1128 |
+
1126,0.05218384,0.016230
|
| 1129 |
+
1127,1.22121406,0.379815
|
| 1130 |
+
1128,0.04646109,0.014450
|
| 1131 |
+
1129,1.47921669,0.460057
|
| 1132 |
+
1130,1.98627949,0.617761
|
| 1133 |
+
1131,2.24881268,0.699412
|
| 1134 |
+
1132,0.20508234,0.063784
|
| 1135 |
+
1133,0.01898927,0.005906
|
| 1136 |
+
1134,0.56310225,0.175133
|
| 1137 |
+
1135,1.25854087,0.391424
|
| 1138 |
+
1136,0.68298179,0.212417
|
| 1139 |
+
1137,0.07827768,0.024345
|
| 1140 |
+
1138,1.01512575,0.315718
|
| 1141 |
+
1139,1.79789031,0.559169
|
| 1142 |
+
1140,0.10675744,0.033203
|
| 1143 |
+
1141,0.90578222,0.281711
|
| 1144 |
+
1142,0.37503970,0.116643
|
| 1145 |
+
1143,1.43094254,0.445043
|
| 1146 |
+
1144,0.92531854,0.287787
|
| 1147 |
+
1145,0.44018012,0.136902
|
| 1148 |
+
1146,0.87211013,0.271239
|
| 1149 |
+
1147,0.23748055,0.073860
|
| 1150 |
+
1148,0.96073669,0.298803
|
| 1151 |
+
1149,2.15560198,0.670423
|
| 1152 |
+
1150,0.64119864,0.199422
|
| 1153 |
+
1151,0.32863805,0.102211
|
| 1154 |
+
1152,0.62312746,0.193801
|
| 1155 |
+
1153,1.01162171,0.314629
|
| 1156 |
+
1154,2.53056335,0.787041
|
| 1157 |
+
1155,0.21046551,0.065458
|
| 1158 |
+
1156,1.04043674,0.323591
|
| 1159 |
+
1157,1.36174726,0.423523
|
| 1160 |
+
1158,0.23403984,0.072790
|
| 1161 |
+
1159,0.13004164,0.040445
|
| 1162 |
+
1160,2.36517859,0.735604
|
| 1163 |
+
1161,1.31021094,0.407494
|
| 1164 |
+
1162,1.31288123,0.408325
|
| 1165 |
+
1163,1.53338933,0.476906
|
| 1166 |
+
1164,0.79104090,0.246025
|
| 1167 |
+
1165,0.59389865,0.184711
|
| 1168 |
+
1166,0.29081249,0.090447
|
| 1169 |
+
1167,0.31967902,0.099425
|
| 1170 |
+
1168,1.49510598,0.464999
|
| 1171 |
+
1169,1.83305979,0.570107
|
| 1172 |
+
1170,0.99668652,0.309984
|
| 1173 |
+
1171,0.79290426,0.246604
|
| 1174 |
+
1172,0.44456422,0.138266
|
| 1175 |
+
1173,2.21983814,0.690401
|
| 1176 |
+
1174,0.40482846,0.125907
|
| 1177 |
+
1175,0.42341694,0.131689
|
| 1178 |
+
1176,1.65690625,0.515321
|
| 1179 |
+
1177,0.70909387,0.220538
|
| 1180 |
+
1178,0.12904213,0.040134
|
| 1181 |
+
1179,0.64937913,0.201966
|
| 1182 |
+
1180,0.34952077,0.108706
|
| 1183 |
+
1181,1.99780428,0.621345
|
| 1184 |
+
1182,0.68366891,0.212631
|
| 1185 |
+
1183,0.54465997,0.169397
|
| 1186 |
+
1184,0.21354061,0.066414
|
| 1187 |
+
1185,0.27580395,0.085779
|
| 1188 |
+
1186,0.53331625,0.165869
|
| 1189 |
+
1187,1.33790183,0.416106
|
| 1190 |
+
1188,0.10969156,0.034116
|
| 1191 |
+
1189,0.71048868,0.220972
|
| 1192 |
+
1190,2.42006540,0.752675
|
| 1193 |
+
1191,1.82336795,0.567093
|
| 1194 |
+
1192,3.21528816,1.000000
|
| 1195 |
+
1193,0.01871173,0.005820
|
| 1196 |
+
1194,0.90874636,0.282633
|
| 1197 |
+
1195,2.10705686,0.655324
|
| 1198 |
+
1196,1.04321337,0.324454
|
| 1199 |
+
1197,0.74609894,0.232047
|
| 1200 |
+
1198,0.70092571,0.217998
|
| 1201 |
+
1199,0.70074064,0.217940
|
| 1202 |
+
1200,0.46944410,0.146004
|
| 1203 |
+
1201,0.84443223,0.262630
|
| 1204 |
+
1202,1.78146076,0.554059
|
| 1205 |
+
1203,0.29942158,0.093124
|
| 1206 |
+
1204,0.18009521,0.056012
|
| 1207 |
+
1205,1.80924106,0.562699
|
| 1208 |
+
1206,0.65984327,0.205221
|
| 1209 |
+
1207,0.49435517,0.153751
|
| 1210 |
+
1208,0.15115522,0.047011
|
| 1211 |
+
1209,2.06509209,0.642273
|
| 1212 |
+
1210,1.33329391,0.414673
|
| 1213 |
+
1211,1.53011513,0.475887
|
| 1214 |
+
1212,1.29026055,0.401289
|
| 1215 |
+
1213,0.99492204,0.309435
|
| 1216 |
+
1214,0.18055898,0.056156
|
| 1217 |
+
1215,1.65023160,0.513245
|
| 1218 |
+
1216,2.21388960,0.688551
|
| 1219 |
+
1217,0.77345669,0.240556
|
| 1220 |
+
1218,0.75184822,0.233835
|
| 1221 |
+
1219,1.41937256,0.441445
|
| 1222 |
+
1220,0.13479698,0.041924
|
| 1223 |
+
1221,1.12170911,0.348867
|
| 1224 |
+
1222,0.46729165,0.145334
|
| 1225 |
+
1223,0.10987908,0.034174
|
| 1226 |
+
1224,1.19501352,0.371666
|
| 1227 |
+
1225,1.24299681,0.386590
|
| 1228 |
+
1226,1.21274948,0.377182
|
| 1229 |
+
1227,0.79685974,0.247835
|
| 1230 |
+
1228,0.04665267,0.014510
|
| 1231 |
+
1229,0.59173423,0.184038
|
| 1232 |
+
1230,0.41903117,0.130325
|
| 1233 |
+
1231,0.56492889,0.175701
|
| 1234 |
+
1232,1.01808715,0.316639
|
| 1235 |
+
1233,2.75756931,0.857643
|
| 1236 |
+
1234,0.53219998,0.165522
|
| 1237 |
+
1235,0.95260215,0.296273
|
| 1238 |
+
1236,1.02303910,0.318180
|
| 1239 |
+
1237,1.00912535,0.313852
|
| 1240 |
+
1238,0.36467838,0.113420
|
| 1241 |
+
1239,0.79786050,0.248146
|
| 1242 |
+
1240,0.47553489,0.147898
|
| 1243 |
+
1241,0.27182549,0.084542
|
| 1244 |
+
1242,0.64945817,0.201991
|
| 1245 |
+
1243,0.68819487,0.214038
|
| 1246 |
+
1244,0.95960444,0.298451
|
| 1247 |
+
1245,0.47110260,0.146520
|
| 1248 |
+
1246,0.74755651,0.232501
|
| 1249 |
+
1247,1.11501610,0.346786
|
| 1250 |
+
1248,0.60715210,0.188833
|
| 1251 |
+
1249,2.67344761,0.831480
|
| 1252 |
+
1250,0.52036572,0.161841
|
| 1253 |
+
1251,0.87967694,0.273592
|
| 1254 |
+
1252,0.67818511,0.210925
|
| 1255 |
+
1253,0.23941901,0.074463
|
| 1256 |
+
1254,0.07519735,0.023387
|
| 1257 |
+
1255,2.40203476,0.747067
|
| 1258 |
+
1256,0.18802819,0.058479
|
| 1259 |
+
1257,0.12468517,0.038779
|
| 1260 |
+
1258,1.18571603,0.368774
|
| 1261 |
+
1259,0.04260968,0.013252
|
| 1262 |
+
1260,0.09000676,0.027993
|
| 1263 |
+
1261,1.38657427,0.431244
|
| 1264 |
+
1262,0.02870671,0.008928
|
| 1265 |
+
1263,1.48458672,0.461727
|
| 1266 |
+
1264,0.61623514,0.191658
|
| 1267 |
+
1265,0.80146509,0.249267
|
| 1268 |
+
1266,0.67140293,0.208816
|
| 1269 |
+
1267,0.21330103,0.066340
|
| 1270 |
+
1268,0.66693169,0.207425
|
| 1271 |
+
1269,2.50872183,0.780248
|
| 1272 |
+
1270,1.57125974,0.488684
|
| 1273 |
+
1271,0.32323208,0.100530
|
| 1274 |
+
1272,0.30531025,0.094956
|
| 1275 |
+
1273,0.43133584,0.134152
|
| 1276 |
+
1274,0.24570724,0.076418
|
| 1277 |
+
1275,1.18649030,0.369015
|
| 1278 |
+
1276,0.17326277,0.053887
|
| 1279 |
+
1277,0.99940461,0.310829
|
| 1280 |
+
1278,1.04040027,0.323579
|
| 1281 |
+
1279,0.59655726,0.185538
|
| 1282 |
+
1280,0.98202527,0.305424
|
| 1283 |
+
1281,0.80592591,0.250654
|
| 1284 |
+
1282,0.20686549,0.064338
|
| 1285 |
+
1283,1.60622096,0.499557
|
| 1286 |
+
1284,3.07666254,0.956885
|
| 1287 |
+
1285,1.06713581,0.331894
|
| 1288 |
+
1286,0.67392302,0.209600
|
| 1289 |
+
1287,1.12894320,0.351117
|
| 1290 |
+
1288,0.40777397,0.126823
|
| 1291 |
+
1289,0.75608695,0.235154
|
| 1292 |
+
1290,0.57730752,0.179551
|
| 1293 |
+
1291,0.51589513,0.160451
|
| 1294 |
+
1292,0.55469728,0.172519
|
| 1295 |
+
1293,0.31502095,0.097976
|
| 1296 |
+
1294,1.43901825,0.447555
|
| 1297 |
+
1295,0.41402784,0.128769
|
| 1298 |
+
1296,0.53234708,0.165567
|
| 1299 |
+
1297,0.61135316,0.190139
|
| 1300 |
+
1298,0.72756630,0.226283
|
| 1301 |
+
1299,0.31455451,0.097831
|
| 1302 |
+
1300,0.35733253,0.111135
|
| 1303 |
+
1301,0.60174298,0.187151
|
| 1304 |
+
1302,0.34718728,0.107980
|
| 1305 |
+
1303,0.68984771,0.214552
|
| 1306 |
+
1304,0.94916850,0.295205
|
| 1307 |
+
1305,0.11113191,0.034564
|
| 1308 |
+
1306,0.38000131,0.118186
|
| 1309 |
+
1307,0.39701074,0.123476
|
| 1310 |
+
1308,0.92672932,0.288226
|
| 1311 |
+
1309,0.06290752,0.019565
|
| 1312 |
+
1310,2.01327372,0.626157
|
| 1313 |
+
1311,0.43211973,0.134395
|
| 1314 |
+
1312,2.72222328,0.846650
|
| 1315 |
+
1313,0.25342128,0.078818
|
| 1316 |
+
1314,0.49668029,0.154475
|
| 1317 |
+
1315,0.72312057,0.224901
|
| 1318 |
+
1316,1.42939520,0.444562
|
| 1319 |
+
1317,1.56208920,0.485832
|
| 1320 |
+
1318,0.48124141,0.149673
|
| 1321 |
+
1319,0.45256364,0.140754
|
| 1322 |
+
1320,0.34436476,0.107102
|
| 1323 |
+
1321,0.32768023,0.101913
|
| 1324 |
+
1322,2.21146297,0.687796
|
| 1325 |
+
1323,0.07241368,0.022522
|
| 1326 |
+
1324,0.52702326,0.163912
|
| 1327 |
+
1325,0.55501246,0.172617
|
| 1328 |
+
1326,0.91757751,0.285380
|
| 1329 |
+
1327,0.79180914,0.246264
|
| 1330 |
+
1328,0.49298784,0.153326
|
| 1331 |
+
1329,1.76619530,0.549312
|
| 1332 |
+
1330,0.70953000,0.220674
|
| 1333 |
+
1331,2.24474597,0.698148
|
| 1334 |
+
1332,1.97606397,0.614584
|
| 1335 |
+
1333,1.77353895,0.551596
|
| 1336 |
+
1334,1.31166840,0.407947
|
| 1337 |
+
1335,0.51950073,0.161572
|
| 1338 |
+
1336,0.46102327,0.143385
|
| 1339 |
+
1337,0.29804724,0.092697
|
| 1340 |
+
1338,0.08197743,0.025496
|
| 1341 |
+
1339,1.39380932,0.433494
|
| 1342 |
+
1340,0.07509208,0.023355
|
| 1343 |
+
1341,1.06318939,0.330667
|
| 1344 |
+
1342,0.01265506,0.003936
|
| 1345 |
+
1343,0.73965365,0.230043
|
| 1346 |
+
1344,0.43455487,0.135153
|
| 1347 |
+
1345,0.90736181,0.282202
|
| 1348 |
+
1346,0.05033752,0.015656
|
| 1349 |
+
1347,1.15620625,0.359596
|
| 1350 |
+
1348,0.00402187,0.001251
|
| 1351 |
+
1349,2.27831316,0.708588
|
| 1352 |
+
1350,1.05347979,0.327647
|
| 1353 |
+
1351,0.89193523,0.277404
|
| 1354 |
+
1352,0.56294489,0.175084
|
| 1355 |
+
1353,0.14979723,0.046589
|
| 1356 |
+
1354,0.52099872,0.162038
|
| 1357 |
+
1355,0.48149884,0.149753
|
| 1358 |
+
1356,1.40454769,0.436834
|
| 1359 |
+
1357,1.40818703,0.437966
|
| 1360 |
+
1358,0.79714441,0.247923
|
| 1361 |
+
1359,0.05551162,0.017265
|
| 1362 |
+
1360,0.65541559,0.203844
|
| 1363 |
+
1361,0.91944754,0.285961
|
| 1364 |
+
1362,0.01376138,0.004280
|
| 1365 |
+
1363,0.06427543,0.019991
|
| 1366 |
+
1364,0.84352809,0.262349
|
| 1367 |
+
1365,0.59003079,0.183508
|
| 1368 |
+
1366,0.96613383,0.300481
|
| 1369 |
+
1367,1.52852285,0.475392
|
| 1370 |
+
1368,1.33630586,0.415610
|
| 1371 |
+
1369,0.71771765,0.223220
|
| 1372 |
+
1370,1.13759542,0.353808
|
| 1373 |
+
1371,0.50689018,0.157650
|
| 1374 |
+
1372,0.77628911,0.241437
|
| 1375 |
+
1373,0.76015550,0.236419
|
| 1376 |
+
1374,0.35557145,0.110588
|
| 1377 |
+
1375,2.42755890,0.755005
|
| 1378 |
+
1376,0.00084423,0.000263
|
| 1379 |
+
1377,1.14503515,0.356122
|
| 1380 |
+
1378,0.42863896,0.133313
|
| 1381 |
+
1379,0.19942676,0.062025
|
| 1382 |
+
1380,1.33719838,0.415888
|
| 1383 |
+
1381,0.93381959,0.290431
|
| 1384 |
+
1382,2.17162991,0.675408
|
| 1385 |
+
1383,0.00681836,0.002121
|
| 1386 |
+
1384,0.53156036,0.165323
|
| 1387 |
+
1385,0.33379194,0.103814
|
| 1388 |
+
1386,1.33198977,0.414268
|
| 1389 |
+
1387,1.85169005,0.575902
|
| 1390 |
+
1388,2.00172329,0.622564
|
| 1391 |
+
1389,0.06096750,0.018962
|
| 1392 |
+
1390,1.55182934,0.482641
|
| 1393 |
+
1391,0.38378987,0.119364
|
| 1394 |
+
1392,1.03406703,0.321609
|
| 1395 |
+
1393,0.03402688,0.010583
|
| 1396 |
+
1394,0.30335498,0.094348
|
| 1397 |
+
1395,0.63388491,0.197147
|
| 1398 |
+
1396,0.95787984,0.297914
|
| 1399 |
+
1397,0.21272491,0.066160
|
| 1400 |
+
1398,1.35943866,0.422805
|
| 1401 |
+
1399,0.71131647,0.221229
|
| 1402 |
+
1400,0.35880771,0.111594
|
| 1403 |
+
1401,1.57324147,0.489300
|
| 1404 |
+
1402,0.49205205,0.153035
|
| 1405 |
+
1403,0.61764324,0.192096
|
| 1406 |
+
1404,1.08752155,0.338235
|
| 1407 |
+
1405,0.31865311,0.099106
|
| 1408 |
+
1406,0.16689271,0.051906
|
| 1409 |
+
1407,1.58779716,0.493827
|
| 1410 |
+
1408,0.45772091,0.142358
|
| 1411 |
+
1409,0.20971411,0.065224
|
| 1412 |
+
1410,1.88865566,0.587399
|
| 1413 |
+
1411,1.30631685,0.406283
|
| 1414 |
+
1412,1.31905699,0.410245
|
| 1415 |
+
1413,1.34499311,0.418312
|
| 1416 |
+
1414,0.38689443,0.120330
|
| 1417 |
+
1415,1.66253471,0.517072
|
| 1418 |
+
1416,1.26343632,0.392947
|
| 1419 |
+
1417,1.14874673,0.357276
|
| 1420 |
+
1418,1.21034813,0.376435
|
| 1421 |
+
1419,2.26937556,0.705808
|
| 1422 |
+
1420,1.32565629,0.412298
|
| 1423 |
+
1421,0.65657151,0.204203
|
| 1424 |
+
1422,0.45962578,0.142950
|
| 1425 |
+
1423,0.00254512,0.000792
|
| 1426 |
+
1424,1.53368127,0.476997
|
| 1427 |
+
1425,0.12078257,0.037565
|
| 1428 |
+
1426,0.96234590,0.299303
|
| 1429 |
+
1427,1.01506817,0.315701
|
| 1430 |
+
1428,1.43216169,0.445423
|
| 1431 |
+
1429,0.49446583,0.153786
|
| 1432 |
+
1430,1.05553830,0.328287
|
| 1433 |
+
1431,0.00903910,0.002811
|
| 1434 |
+
1432,0.18459432,0.057411
|
| 1435 |
+
1433,1.22654653,0.381473
|
| 1436 |
+
1434,1.95018709,0.606536
|
| 1437 |
+
1435,0.87917864,0.273437
|
| 1438 |
+
1436,0.06250885,0.019441
|
| 1439 |
+
1437,1.58684766,0.493532
|
| 1440 |
+
1438,2.33932376,0.727563
|
| 1441 |
+
1439,1.82118487,0.566414
|
| 1442 |
+
1440,2.42477894,0.754140
|
| 1443 |
+
1441,0.92830426,0.288716
|
| 1444 |
+
1442,0.30070105,0.093522
|
| 1445 |
+
1443,0.36504099,0.113533
|
| 1446 |
+
1444,0.70991778,0.220794
|
| 1447 |
+
1445,0.00621206,0.001932
|
| 1448 |
+
1446,1.33295918,0.414569
|
| 1449 |
+
1447,0.25854594,0.080411
|
| 1450 |
+
1448,0.92847031,0.288767
|
| 1451 |
+
1449,0.38653088,0.120217
|
| 1452 |
+
1450,0.18554801,0.057708
|
| 1453 |
+
1451,0.13984418,0.043494
|
| 1454 |
+
1452,0.00327140,0.001017
|
| 1455 |
+
1453,0.79926932,0.248584
|
| 1456 |
+
1454,1.09306312,0.339958
|
| 1457 |
+
1455,1.29307103,0.402163
|
| 1458 |
+
1456,1.53481495,0.477349
|
| 1459 |
+
1457,2.27820539,0.708554
|
| 1460 |
+
1458,0.52488303,0.163246
|
| 1461 |
+
1459,0.17444567,0.054255
|
| 1462 |
+
1460,0.68729746,0.213759
|
| 1463 |
+
1461,0.11719008,0.036448
|
| 1464 |
+
1462,1.43060601,0.444939
|
| 1465 |
+
1463,0.73929846,0.229932
|
| 1466 |
+
1464,1.09440517,0.340375
|
| 1467 |
+
1465,0.28326058,0.088098
|
| 1468 |
+
1466,1.24769258,0.388050
|
| 1469 |
+
1467,0.96945810,0.301515
|
| 1470 |
+
1468,0.08173518,0.025421
|
| 1471 |
+
1469,0.07311487,0.022740
|
| 1472 |
+
1470,1.26685619,0.394010
|
| 1473 |
+
1471,2.49047995,0.774574
|
| 1474 |
+
1472,0.96176881,0.299124
|
| 1475 |
+
1473,0.56042343,0.174300
|
| 1476 |
+
1474,0.01520181,0.004728
|
| 1477 |
+
1475,0.93106067,0.289573
|
| 1478 |
+
1476,0.12584098,0.039138
|
| 1479 |
+
1477,1.01112938,0.314476
|
| 1480 |
+
1478,1.52952003,0.475702
|
| 1481 |
+
1479,0.33835590,0.105233
|
| 1482 |
+
1480,0.79363257,0.246831
|
| 1483 |
+
1481,0.90617365,0.281833
|
| 1484 |
+
1482,0.27801472,0.086466
|
| 1485 |
+
1483,0.34062189,0.105938
|
| 1486 |
+
1484,1.75734425,0.546559
|
| 1487 |
+
1485,1.15308976,0.358627
|
| 1488 |
+
1486,0.28482190,0.088584
|
| 1489 |
+
1487,1.21803355,0.378826
|
| 1490 |
+
1488,0.98239487,0.305539
|
| 1491 |
+
1489,1.35794663,0.422341
|
| 1492 |
+
1490,0.39111266,0.121642
|
| 1493 |
+
1491,0.60186481,0.187188
|
| 1494 |
+
1492,0.84220433,0.261937
|
| 1495 |
+
1493,0.91062605,0.283218
|
| 1496 |
+
1494,1.61105180,0.501060
|
| 1497 |
+
1495,1.11310601,0.346192
|
| 1498 |
+
1496,0.26314375,0.081841
|
| 1499 |
+
1497,1.21532524,0.377983
|
| 1500 |
+
1498,0.88237858,0.274432
|
| 1501 |
+
1499,0.75466120,0.234710
|
| 1502 |
+
1500,0.39873254,0.124011
|
| 1503 |
+
1501,0.42615646,0.132541
|
| 1504 |
+
1502,1.63776374,0.509368
|
| 1505 |
+
1503,1.29001069,0.401212
|
| 1506 |
+
1504,0.66867185,0.207966
|
| 1507 |
+
1505,0.11079699,0.034459
|
| 1508 |
+
1506,1.20933533,0.376120
|
| 1509 |
+
1507,2.20998740,0.687337
|
| 1510 |
+
1508,2.41296291,0.750466
|
| 1511 |
+
1509,0.03918135,0.012186
|
| 1512 |
+
1510,1.43203783,0.445384
|
| 1513 |
+
1511,0.54633820,0.169919
|
| 1514 |
+
1512,0.24399158,0.075885
|
| 1515 |
+
1513,1.14064384,0.354756
|
| 1516 |
+
1514,1.90016055,0.590977
|
| 1517 |
+
1515,0.83624315,0.260083
|
| 1518 |
+
1516,1.86865199,0.581177
|
| 1519 |
+
1517,0.18286556,0.056874
|
| 1520 |
+
1518,0.21067920,0.065524
|
| 1521 |
+
1519,0.32108724,0.099863
|
| 1522 |
+
1520,0.79609692,0.247597
|
| 1523 |
+
1521,0.57990289,0.180358
|
| 1524 |
+
1522,0.72242975,0.224686
|
| 1525 |
+
1523,1.91886067,0.596793
|
| 1526 |
+
1524,0.91600937,0.284892
|
| 1527 |
+
1525,0.66150463,0.205737
|
| 1528 |
+
1526,0.51527148,0.160257
|
| 1529 |
+
1527,0.26325771,0.081877
|
| 1530 |
+
1528,1.34939897,0.419682
|
| 1531 |
+
1529,1.76859784,0.550059
|
| 1532 |
+
1530,1.50756550,0.468874
|
| 1533 |
+
1531,2.85168123,0.886913
|
| 1534 |
+
1532,1.39145839,0.432763
|
| 1535 |
+
1533,0.01856749,0.005775
|
| 1536 |
+
1534,1.62173772,0.504383
|
| 1537 |
+
1535,0.54622030,0.169882
|
| 1538 |
+
1536,0.42707688,0.132827
|
| 1539 |
+
1537,0.14688392,0.045683
|
| 1540 |
+
1538,0.12012972,0.037362
|
| 1541 |
+
1539,0.28492561,0.088616
|
| 1542 |
+
1540,0.70105940,0.218039
|
| 1543 |
+
1541,0.22018458,0.068481
|
| 1544 |
+
1542,1.19460952,0.371540
|
| 1545 |
+
1543,0.66419601,0.206574
|
| 1546 |
+
1544,0.70898658,0.220505
|
| 1547 |
+
1545,0.94084758,0.292617
|
| 1548 |
+
1546,0.36879426,0.114700
|
| 1549 |
+
1547,1.55186570,0.482652
|
| 1550 |
+
1548,1.94015288,0.603415
|
| 1551 |
+
1549,0.02026027,0.006301
|
| 1552 |
+
1550,1.21992397,0.379414
|
| 1553 |
+
1551,1.17287803,0.364782
|
| 1554 |
+
1552,0.20232777,0.062927
|
| 1555 |
+
1553,1.90727603,0.593190
|
| 1556 |
+
1554,0.28522748,0.088710
|
| 1557 |
+
1555,1.77022803,0.550566
|
| 1558 |
+
1556,0.87015951,0.270632
|
| 1559 |
+
1557,1.18634272,0.368969
|
| 1560 |
+
1558,1.67380619,0.520577
|
| 1561 |
+
1559,0.13453773,0.041843
|
| 1562 |
+
1560,1.34239388,0.417503
|
| 1563 |
+
1561,0.21866834,0.068009
|
| 1564 |
+
1562,0.19992493,0.062179
|
| 1565 |
+
1563,1.49813700,0.465942
|
| 1566 |
+
1564,0.53292942,0.165749
|
| 1567 |
+
1565,0.50448978,0.156903
|
| 1568 |
+
1566,0.42210925,0.131282
|
| 1569 |
+
1567,0.55340731,0.172117
|
| 1570 |
+
1568,0.97403884,0.302940
|
| 1571 |
+
1569,0.99333501,0.308941
|
| 1572 |
+
1570,0.42635030,0.132601
|
| 1573 |
+
1571,1.18160629,0.367496
|
| 1574 |
+
1572,1.45339012,0.452025
|
| 1575 |
+
1573,1.69968617,0.528626
|
| 1576 |
+
1574,0.08079462,0.025128
|
| 1577 |
+
1575,1.07686782,0.334921
|
| 1578 |
+
1576,1.52596426,0.474596
|
| 1579 |
+
1577,1.24745834,0.387977
|
| 1580 |
+
1578,0.41513640,0.129113
|
| 1581 |
+
1579,1.91583252,0.595851
|
| 1582 |
+
1580,0.83488345,0.259661
|
| 1583 |
+
1581,0.00169917,0.000528
|
| 1584 |
+
1582,0.18913984,0.058825
|
| 1585 |
+
1583,0.01870115,0.005816
|
| 1586 |
+
1584,0.27482864,0.085476
|
| 1587 |
+
1585,0.67418164,0.209680
|
| 1588 |
+
1586,0.13238853,0.041175
|
| 1589 |
+
1587,0.22910288,0.071254
|
| 1590 |
+
1588,1.38245988,0.429965
|
| 1591 |
+
1589,0.49267605,0.153229
|
| 1592 |
+
1590,1.53225327,0.476552
|
| 1593 |
+
1591,0.62647092,0.194841
|
| 1594 |
+
1592,0.03390089,0.010544
|
| 1595 |
+
1593,0.63390064,0.197152
|
| 1596 |
+
1594,1.77223420,0.551190
|
| 1597 |
+
1595,0.50850922,0.158154
|
| 1598 |
+
1596,0.77200651,0.240105
|
| 1599 |
+
1597,0.99612641,0.309809
|
| 1600 |
+
1598,0.26657656,0.082909
|
| 1601 |
+
1599,0.30547282,0.095006
|
| 1602 |
+
1600,2.27548456,0.707708
|
| 1603 |
+
1601,0.09491225,0.029519
|
| 1604 |
+
1602,1.69774187,0.528022
|
| 1605 |
+
1603,1.05314183,0.327542
|
| 1606 |
+
1604,1.81580138,0.564740
|
| 1607 |
+
1605,1.00539231,0.312691
|
| 1608 |
+
1606,0.99258739,0.308709
|
| 1609 |
+
1607,0.03461276,0.010765
|
| 1610 |
+
1608,0.85237551,0.265101
|
| 1611 |
+
1609,0.05181202,0.016114
|
| 1612 |
+
1610,0.00993933,0.003091
|
| 1613 |
+
1611,0.06859501,0.021334
|
| 1614 |
+
1612,0.20936835,0.065117
|
| 1615 |
+
1613,0.33356541,0.103744
|
| 1616 |
+
1614,0.52217734,0.162405
|
| 1617 |
+
1615,0.69689310,0.216744
|
| 1618 |
+
1616,0.06276670,0.019521
|
| 1619 |
+
1617,0.33769807,0.105029
|
| 1620 |
+
1618,0.40559006,0.126144
|
| 1621 |
+
1619,0.44192302,0.137444
|
| 1622 |
+
1620,0.18258625,0.056787
|
| 1623 |
+
1621,0.04987767,0.015513
|
| 1624 |
+
1622,0.17552236,0.054590
|
| 1625 |
+
1623,0.48863727,0.151973
|
| 1626 |
+
1624,0.24285163,0.075530
|
| 1627 |
+
1625,0.59836936,0.186101
|
| 1628 |
+
1626,0.63918126,0.198794
|
| 1629 |
+
1627,1.15880585,0.360405
|
| 1630 |
+
1628,0.02201632,0.006847
|
| 1631 |
+
1629,0.42279398,0.131495
|
| 1632 |
+
1630,1.16976738,0.363814
|
| 1633 |
+
1631,0.13147712,0.040891
|
| 1634 |
+
1632,0.65562510,0.203909
|
| 1635 |
+
1633,0.75741166,0.235566
|
| 1636 |
+
1634,0.14441760,0.044916
|
| 1637 |
+
1635,0.72766721,0.226315
|
| 1638 |
+
1636,0.99070692,0.308124
|
| 1639 |
+
1637,1.45525718,0.452606
|
| 1640 |
+
1638,0.41563633,0.129269
|
| 1641 |
+
1639,0.09908246,0.030816
|
| 1642 |
+
1640,0.93566805,0.291006
|
| 1643 |
+
1641,0.07482846,0.023273
|
| 1644 |
+
1642,1.41914463,0.441374
|
| 1645 |
+
1643,0.00066880,0.000208
|
| 1646 |
+
1644,1.24696994,0.387825
|
| 1647 |
+
1645,0.52903628,0.164538
|
| 1648 |
+
1646,0.68579775,0.213293
|
| 1649 |
+
1647,2.62597203,0.816714
|
| 1650 |
+
1648,0.30593294,0.095149
|
| 1651 |
+
1649,0.26869631,0.083568
|
| 1652 |
+
1650,0.98582536,0.306606
|
| 1653 |
+
1651,1.41611063,0.440430
|
| 1654 |
+
1652,1.37987876,0.429162
|
| 1655 |
+
1653,0.88634479,0.275666
|
| 1656 |
+
1654,0.28443402,0.088463
|
| 1657 |
+
1655,1.80649233,0.561845
|
| 1658 |
+
1656,1.45761991,0.453340
|
| 1659 |
+
1657,0.85962945,0.267357
|
| 1660 |
+
1658,1.54407263,0.480228
|
| 1661 |
+
1659,0.60731709,0.188884
|
| 1662 |
+
1660,0.62734056,0.195112
|
| 1663 |
+
1661,1.55747199,0.484396
|
| 1664 |
+
1662,0.50666726,0.157581
|
| 1665 |
+
1663,0.59022683,0.183569
|
| 1666 |
+
1664,0.11231446,0.034931
|
| 1667 |
+
1665,1.07836366,0.335386
|
| 1668 |
+
1666,0.93123513,0.289627
|
| 1669 |
+
1667,0.59776205,0.185912
|
| 1670 |
+
1668,0.16495493,0.051303
|
| 1671 |
+
1669,0.03185493,0.009907
|
| 1672 |
+
1670,0.77765381,0.241861
|
| 1673 |
+
1671,1.58989859,0.494481
|
| 1674 |
+
1672,0.13626806,0.042381
|
| 1675 |
+
1673,0.51349920,0.159706
|
| 1676 |
+
1674,0.40820763,0.126958
|
| 1677 |
+
1675,1.23421288,0.383858
|
| 1678 |
+
1676,0.63943905,0.198875
|
| 1679 |
+
1677,0.26270959,0.081706
|
| 1680 |
+
1678,0.26422247,0.082177
|
| 1681 |
+
1679,0.06750546,0.020995
|
| 1682 |
+
1680,1.72834873,0.537541
|
| 1683 |
+
1681,2.06834006,0.643283
|
| 1684 |
+
1682,0.09243678,0.028749
|
| 1685 |
+
1683,1.79187715,0.557299
|
| 1686 |
+
1684,0.07040694,0.021898
|
| 1687 |
+
1685,2.43585062,0.757584
|
| 1688 |
+
1686,0.58894789,0.183171
|
| 1689 |
+
1687,1.03717208,0.322575
|
| 1690 |
+
1688,1.82367516,0.567189
|
| 1691 |
+
1689,0.18272121,0.056829
|
| 1692 |
+
1690,0.49913421,0.155238
|
| 1693 |
+
1691,0.80994719,0.251905
|
| 1694 |
+
1692,0.53489399,0.166360
|
| 1695 |
+
1693,1.55579042,0.483873
|
| 1696 |
+
1694,2.02885103,0.631001
|
| 1697 |
+
1695,0.56530750,0.175819
|
| 1698 |
+
1696,0.26958042,0.083843
|
| 1699 |
+
1697,0.31296891,0.097338
|
| 1700 |
+
1698,1.32467389,0.411992
|
| 1701 |
+
1699,0.84000427,0.261253
|
| 1702 |
+
1700,1.16165674,0.361292
|
| 1703 |
+
1701,0.51353943,0.159718
|
| 1704 |
+
1702,1.35030079,0.419963
|
| 1705 |
+
1703,0.00817177,0.002542
|
| 1706 |
+
1704,1.28769302,0.400491
|
| 1707 |
+
1705,1.54208803,0.479611
|
| 1708 |
+
1706,0.03110209,0.009673
|
| 1709 |
+
1707,0.97273254,0.302534
|
| 1710 |
+
1708,0.43263996,0.134557
|
| 1711 |
+
1709,0.29186255,0.090773
|
| 1712 |
+
1710,0.01446111,0.004498
|
| 1713 |
+
1711,1.58457637,0.492826
|
| 1714 |
+
1712,1.68766439,0.524887
|
| 1715 |
+
1713,1.62938726,0.506762
|
| 1716 |
+
1714,2.54390144,0.791189
|
| 1717 |
+
1715,0.25991708,0.080838
|
| 1718 |
+
1716,1.55018520,0.482129
|
| 1719 |
+
1717,0.38377324,0.119359
|
| 1720 |
+
1718,0.00360994,0.001123
|
| 1721 |
+
1719,0.73702466,0.229225
|
| 1722 |
+
1720,1.17296171,0.364808
|
| 1723 |
+
1721,0.18204229,0.056618
|
| 1724 |
+
1722,1.09174836,0.339549
|
| 1725 |
+
1723,0.62444967,0.194213
|
| 1726 |
+
1724,0.90179652,0.280471
|
| 1727 |
+
1725,0.36275735,0.112823
|
| 1728 |
+
1726,0.36825624,0.114533
|
| 1729 |
+
1727,0.92923242,0.289004
|
| 1730 |
+
1728,0.51307100,0.159572
|
| 1731 |
+
1729,1.84889817,0.575033
|
| 1732 |
+
1730,1.26747429,0.394202
|
| 1733 |
+
1731,2.12902904,0.662158
|
| 1734 |
+
1732,0.01462757,0.004549
|
| 1735 |
+
1733,1.90082657,0.591184
|
| 1736 |
+
1734,0.32721013,0.101767
|
| 1737 |
+
1735,1.52025962,0.472822
|
| 1738 |
+
1736,1.27652121,0.397016
|
| 1739 |
+
1737,1.66399312,0.517525
|
| 1740 |
+
1738,1.43237376,0.445488
|
| 1741 |
+
1739,1.15440452,0.359036
|
| 1742 |
+
1740,0.21110079,0.065655
|
| 1743 |
+
1741,1.29978287,0.404251
|
| 1744 |
+
1742,1.50992489,0.469608
|
| 1745 |
+
1743,0.87590164,0.272418
|
| 1746 |
+
1744,1.57182884,0.488861
|
| 1747 |
+
1745,1.66048360,0.516434
|
| 1748 |
+
1746,0.74111819,0.230498
|
| 1749 |
+
1747,1.49956131,0.466385
|
| 1750 |
+
1748,0.63891143,0.198710
|
| 1751 |
+
1749,0.13170964,0.040964
|
| 1752 |
+
1750,3.13967371,0.976483
|
| 1753 |
+
1751,0.83858258,0.260811
|
| 1754 |
+
1752,1.53289104,0.476751
|
| 1755 |
+
1753,0.04131307,0.012849
|
| 1756 |
+
1754,1.29597330,0.403066
|
| 1757 |
+
1755,0.47781757,0.148608
|
| 1758 |
+
1756,0.03049424,0.009484
|
| 1759 |
+
1757,0.63107663,0.196274
|
| 1760 |
+
1758,1.01022196,0.314193
|
| 1761 |
+
1759,0.00087192,0.000271
|
| 1762 |
+
1760,1.11277103,0.346087
|
| 1763 |
+
1761,0.03066244,0.009536
|
| 1764 |
+
1762,1.52094364,0.473035
|
| 1765 |
+
1763,0.37215132,0.115744
|
| 1766 |
+
1764,0.01765693,0.005492
|
| 1767 |
+
1765,0.12737954,0.039617
|
| 1768 |
+
1766,1.92095709,0.597445
|
| 1769 |
+
1767,0.10558479,0.032838
|
| 1770 |
+
1768,0.92455894,0.287551
|
| 1771 |
+
1769,0.52100259,0.162039
|
| 1772 |
+
1770,0.67250472,0.209158
|
| 1773 |
+
1771,1.56593943,0.487029
|
| 1774 |
+
1772,0.25723034,0.080002
|
| 1775 |
+
1773,0.76024210,0.236446
|
| 1776 |
+
1774,1.01923871,0.316998
|
| 1777 |
+
1775,1.02565312,0.318993
|
| 1778 |
+
1776,1.04385233,0.324653
|
| 1779 |
+
1777,2.38419342,0.741518
|
| 1780 |
+
1778,0.66841364,0.207886
|
| 1781 |
+
1779,0.62173235,0.193368
|
| 1782 |
+
1780,0.27653787,0.086007
|
| 1783 |
+
1781,0.49689615,0.154542
|
| 1784 |
+
1782,0.89967394,0.279811
|
| 1785 |
+
1783,0.42472228,0.132095
|
| 1786 |
+
1784,1.14063835,0.354755
|
| 1787 |
+
1785,0.43065363,0.133939
|
| 1788 |
+
1786,0.08294980,0.025799
|
| 1789 |
+
1787,0.71822786,0.223379
|
| 1790 |
+
1788,0.61910737,0.192551
|
| 1791 |
+
1789,0.24960400,0.077630
|
| 1792 |
+
1790,0.20743683,0.064516
|
| 1793 |
+
1791,0.83546770,0.259842
|
| 1794 |
+
1792,0.33399326,0.103877
|
| 1795 |
+
1793,0.20484731,0.063710
|
| 1796 |
+
1794,0.13669240,0.042513
|
| 1797 |
+
1795,0.14170161,0.044071
|
| 1798 |
+
1796,1.70130372,0.529129
|
| 1799 |
+
1797,0.27913216,0.086814
|
| 1800 |
+
1798,2.05293465,0.638492
|
| 1801 |
+
1799,0.07824859,0.024336
|
| 1802 |
+
1800,0.86466658,0.268924
|
| 1803 |
+
1801,0.08134814,0.025300
|
| 1804 |
+
1802,0.61152375,0.190193
|
| 1805 |
+
1803,1.44586325,0.449684
|
| 1806 |
+
1804,0.32042941,0.099658
|
| 1807 |
+
1805,1.40325546,0.436432
|
| 1808 |
+
1806,0.69714993,0.216823
|
| 1809 |
+
1807,0.72315609,0.224912
|
| 1810 |
+
1808,0.49708357,0.154600
|
| 1811 |
+
1809,1.08336902,0.336943
|
| 1812 |
+
1810,0.34473300,0.107217
|
| 1813 |
+
1811,1.13633442,0.353416
|
| 1814 |
+
1812,1.41090798,0.438812
|
| 1815 |
+
1813,1.16540754,0.362458
|
| 1816 |
+
1814,0.23068623,0.071747
|
| 1817 |
+
1815,1.78565562,0.555364
|
| 1818 |
+
1816,1.97734857,0.614983
|
| 1819 |
+
1817,0.77814949,0.242015
|
| 1820 |
+
1818,1.24889648,0.388424
|
| 1821 |
+
1819,0.44143707,0.137293
|
| 1822 |
+
1820,1.00210738,0.311670
|
| 1823 |
+
1821,0.65663385,0.204222
|
| 1824 |
+
1822,1.61100829,0.501046
|
| 1825 |
+
1823,0.64558411,0.200786
|
| 1826 |
+
1824,0.92398638,0.287373
|
| 1827 |
+
1825,0.51368517,0.159763
|
| 1828 |
+
1826,0.72456950,0.225351
|
| 1829 |
+
1827,2.17764521,0.677278
|
| 1830 |
+
1828,0.55679321,0.173171
|
| 1831 |
+
1829,0.03777348,0.011748
|
| 1832 |
+
1830,0.14092053,0.043828
|
| 1833 |
+
1831,1.59457612,0.495936
|
| 1834 |
+
1832,0.93221563,0.289932
|
| 1835 |
+
1833,0.48185360,0.149863
|
| 1836 |
+
1834,0.10444057,0.032482
|
| 1837 |
+
1835,0.87747908,0.272908
|
| 1838 |
+
1836,0.82499772,0.256586
|
| 1839 |
+
1837,1.00543666,0.312705
|
| 1840 |
+
1838,0.15438406,0.048016
|
| 1841 |
+
1839,1.27058542,0.395170
|
| 1842 |
+
1840,2.47704458,0.770396
|
| 1843 |
+
1841,1.69974017,0.528643
|
| 1844 |
+
1842,0.87899852,0.273381
|
| 1845 |
+
1843,1.67588770,0.521225
|
| 1846 |
+
1844,1.00886703,0.313772
|
| 1847 |
+
1845,0.94330561,0.293381
|
| 1848 |
+
1846,0.70837694,0.220315
|
| 1849 |
+
1847,0.91353631,0.284123
|
| 1850 |
+
1848,0.48286724,0.150179
|
| 1851 |
+
1849,0.91425461,0.284346
|
| 1852 |
+
1850,0.90385002,0.281110
|
| 1853 |
+
1851,1.66662025,0.518342
|
| 1854 |
+
1852,1.42928410,0.444528
|
| 1855 |
+
1853,0.05111611,0.015898
|
| 1856 |
+
1854,0.40511912,0.125998
|
| 1857 |
+
1855,0.58833778,0.182981
|
| 1858 |
+
1856,0.24186766,0.075224
|
| 1859 |
+
1857,0.10029032,0.031192
|
| 1860 |
+
1858,1.17949748,0.366840
|
| 1861 |
+
1859,0.70504594,0.219279
|
| 1862 |
+
1860,0.35253930,0.109645
|
| 1863 |
+
1861,0.44539487,0.138524
|
| 1864 |
+
1862,1.48051739,0.460462
|
| 1865 |
+
1863,2.86964417,0.892500
|
| 1866 |
+
1864,0.32544526,0.101218
|
| 1867 |
+
1865,0.77751529,0.241818
|
| 1868 |
+
1866,0.81196755,0.252533
|
| 1869 |
+
1867,1.70054412,0.528893
|
| 1870 |
+
1868,0.22635791,0.070401
|
| 1871 |
+
1869,0.05617312,0.017471
|
| 1872 |
+
1870,0.54248619,0.168721
|
| 1873 |
+
1871,0.68227977,0.212199
|
| 1874 |
+
1872,1.22399259,0.380679
|
| 1875 |
+
1873,0.58654660,0.182424
|
| 1876 |
+
1874,0.03377184,0.010504
|
| 1877 |
+
1875,1.54360473,0.480083
|
| 1878 |
+
1876,1.86591315,0.580325
|
| 1879 |
+
1877,0.75962859,0.236255
|
| 1880 |
+
1878,1.45615816,0.452886
|
| 1881 |
+
1879,0.87830997,0.273167
|
| 1882 |
+
1880,0.68617904,0.213411
|
| 1883 |
+
1881,0.40840575,0.127020
|
| 1884 |
+
1882,1.13802326,0.353941
|
| 1885 |
+
1883,1.10175264,0.342661
|
| 1886 |
+
1884,1.50419044,0.467824
|
| 1887 |
+
1885,0.03953435,0.012296
|
| 1888 |
+
1886,0.04478404,0.013928
|
| 1889 |
+
1887,0.05311112,0.016518
|
| 1890 |
+
1888,0.04733609,0.014722
|
| 1891 |
+
1889,0.35310405,0.109820
|
| 1892 |
+
1890,0.07773086,0.024175
|
| 1893 |
+
1891,0.14726347,0.045801
|
| 1894 |
+
1892,0.02344797,0.007293
|
| 1895 |
+
1893,0.04864407,0.015129
|
| 1896 |
+
1894,0.89685237,0.278934
|
| 1897 |
+
1895,0.50663286,0.157570
|
| 1898 |
+
1896,0.14898229,0.046336
|
| 1899 |
+
1897,2.50687647,0.779674
|
| 1900 |
+
1898,1.04189062,0.324043
|
| 1901 |
+
1899,0.24169776,0.075171
|
| 1902 |
+
1900,0.73015463,0.227088
|
| 1903 |
+
1901,1.06577730,0.331472
|
| 1904 |
+
1902,0.18230955,0.056701
|
| 1905 |
+
1903,2.53381252,0.788051
|
| 1906 |
+
1904,0.49922225,0.155265
|
| 1907 |
+
1905,1.58532548,0.493059
|
| 1908 |
+
1906,1.25051641,0.388928
|
| 1909 |
+
1907,0.79560053,0.247443
|
| 1910 |
+
1908,0.51532990,0.160275
|
| 1911 |
+
1909,1.45093918,0.451263
|
| 1912 |
+
1910,0.18835723,0.058582
|
| 1913 |
+
1911,0.84835714,0.263851
|
| 1914 |
+
1912,1.33487475,0.415165
|
| 1915 |
+
1913,0.97493476,0.303218
|
| 1916 |
+
1914,0.78172028,0.243126
|
| 1917 |
+
1915,0.48162112,0.149791
|
| 1918 |
+
1916,0.05877736,0.018281
|
| 1919 |
+
1917,0.19736023,0.061382
|
| 1920 |
+
1918,0.57685483,0.179410
|
| 1921 |
+
1919,0.63085818,0.196206
|
| 1922 |
+
1920,0.07084867,0.022035
|
| 1923 |
+
1921,0.93838930,0.291852
|
| 1924 |
+
1922,1.09012806,0.339045
|
| 1925 |
+
1923,0.19454914,0.060508
|
| 1926 |
+
1924,1.51744211,0.471946
|
| 1927 |
+
1925,0.67040837,0.208506
|
| 1928 |
+
1926,1.59518230,0.496124
|
| 1929 |
+
1927,0.36650270,0.113988
|
| 1930 |
+
1928,0.07060463,0.021959
|
| 1931 |
+
1929,1.52403688,0.473997
|
| 1932 |
+
1930,0.45629397,0.141914
|
| 1933 |
+
1931,1.25505686,0.390340
|
| 1934 |
+
1932,0.08128618,0.025281
|
| 1935 |
+
1933,0.82753634,0.257375
|
| 1936 |
+
1934,0.17251340,0.053654
|
| 1937 |
+
1935,1.48354411,0.461403
|
| 1938 |
+
1936,0.36068040,0.112177
|
| 1939 |
+
1937,0.64326870,0.200066
|
| 1940 |
+
1938,0.60051268,0.186768
|
| 1941 |
+
1939,0.40825382,0.126973
|
| 1942 |
+
1940,0.00064703,0.000201
|
| 1943 |
+
1941,0.72804737,0.226433
|
| 1944 |
+
1942,0.26726916,0.083124
|
| 1945 |
+
1943,0.66668534,0.207349
|
| 1946 |
+
1944,0.46043020,0.143200
|
| 1947 |
+
1945,1.20363426,0.374347
|
| 1948 |
+
1946,0.59761608,0.185867
|
| 1949 |
+
1947,0.96469760,0.300035
|
| 1950 |
+
1948,1.52334619,0.473782
|
| 1951 |
+
1949,0.46524763,0.144699
|
| 1952 |
+
1950,0.50480247,0.157001
|
| 1953 |
+
1951,0.21578237,0.067111
|
| 1954 |
+
1952,0.14733008,0.045822
|
| 1955 |
+
1953,0.58711267,0.182600
|
| 1956 |
+
1954,0.89132130,0.277214
|
| 1957 |
+
1955,0.10421343,0.032412
|
| 1958 |
+
1956,0.92433739,0.287482
|
| 1959 |
+
1957,0.11399496,0.035454
|
| 1960 |
+
1958,0.41775399,0.129927
|
| 1961 |
+
1959,0.01116659,0.003473
|
| 1962 |
+
1960,0.01755748,0.005461
|
| 1963 |
+
1961,0.01307637,0.004067
|
| 1964 |
+
1962,0.01513554,0.004707
|
| 1965 |
+
1963,0.01582063,0.004920
|
| 1966 |
+
1964,0.01708706,0.005314
|
| 1967 |
+
1965,0.01291673,0.004017
|
| 1968 |
+
1966,0.01269833,0.003949
|
| 1969 |
+
1967,0.01573915,0.004895
|
| 1970 |
+
1968,0.01227435,0.003817
|
| 1971 |
+
1969,0.01732679,0.005389
|
| 1972 |
+
1970,0.01767661,0.005498
|
| 1973 |
+
1971,0.01316495,0.004094
|
| 1974 |
+
1972,0.01516718,0.004717
|
| 1975 |
+
1973,0.01527700,0.004751
|
| 1976 |
+
1974,0.01197027,0.003723
|
| 1977 |
+
1975,0.01369400,0.004259
|
| 1978 |
+
1976,0.01094251,0.003403
|
| 1979 |
+
1977,0.01268559,0.003945
|
| 1980 |
+
1978,0.01505072,0.004681
|
| 1981 |
+
1979,0.01342607,0.004176
|
| 1982 |
+
1980,0.01641719,0.005106
|
| 1983 |
+
1981,0.01669432,0.005192
|
| 1984 |
+
1982,0.01732468,0.005388
|
| 1985 |
+
1983,0.01097405,0.003413
|
| 1986 |
+
1984,0.01794377,0.005581
|
| 1987 |
+
1985,0.01205672,0.003750
|
| 1988 |
+
1986,0.01123279,0.003494
|
| 1989 |
+
1987,0.01648546,0.005127
|
| 1990 |
+
1988,0.01429535,0.004446
|
| 1991 |
+
1989,0.01064509,0.003311
|
| 1992 |
+
1990,0.01181449,0.003674
|
| 1993 |
+
1991,0.01580036,0.004914
|
| 1994 |
+
1992,0.01178224,0.003664
|
| 1995 |
+
1993,0.01280335,0.003982
|
| 1996 |
+
1994,0.01383177,0.004302
|
| 1997 |
+
1995,0.01114647,0.003467
|
| 1998 |
+
1996,0.01485125,0.004619
|
| 1999 |
+
1997,0.01658122,0.005157
|
| 2000 |
+
1998,0.01109467,0.003451
|
| 2001 |
+
1999,0.01572593,0.004891
|
| 2002 |
+
2000,0.01346354,0.004187
|
| 2003 |
+
2001,0.01373211,0.004271
|
| 2004 |
+
2002,0.01286952,0.004003
|
| 2005 |
+
2003,0.01239848,0.003856
|
| 2006 |
+
2004,0.01412659,0.004394
|
| 2007 |
+
2005,0.01180661,0.003672
|
| 2008 |
+
2006,0.01228341,0.003820
|
| 2009 |
+
2007,0.01780504,0.005538
|
| 2010 |
+
2008,0.01720798,0.005352
|
| 2011 |
+
2009,0.01394572,0.004337
|
| 2012 |
+
2010,0.01831796,0.005697
|
| 2013 |
+
2011,0.01537850,0.004783
|
| 2014 |
+
2012,0.01216646,0.003784
|
| 2015 |
+
2013,0.01257092,0.003910
|
| 2016 |
+
2014,0.01612417,0.005015
|
| 2017 |
+
2015,0.01093195,0.003400
|
| 2018 |
+
2016,0.01613952,0.005020
|
| 2019 |
+
2017,0.01206547,0.003753
|
| 2020 |
+
2018,0.01348283,0.004193
|
| 2021 |
+
2019,0.01606726,0.004997
|
| 2022 |
+
2020,0.01094177,0.003403
|
| 2023 |
+
2021,0.01710536,0.005320
|
| 2024 |
+
2022,0.01219673,0.003793
|
| 2025 |
+
2023,0.01279876,0.003981
|
| 2026 |
+
2024,0.01590076,0.004945
|
| 2027 |
+
2025,0.01536893,0.004780
|
| 2028 |
+
2026,0.01741210,0.005415
|
| 2029 |
+
2027,0.01273714,0.003961
|
| 2030 |
+
2028,0.01076886,0.003349
|
| 2031 |
+
2029,0.01751870,0.005449
|
| 2032 |
+
2030,0.01389894,0.004323
|
| 2033 |
+
2031,0.01328756,0.004133
|
| 2034 |
+
2032,0.01529504,0.004757
|
| 2035 |
+
2033,0.01533976,0.004771
|
| 2036 |
+
2034,0.01596426,0.004965
|
| 2037 |
+
2035,0.01607878,0.005001
|
| 2038 |
+
2036,0.01476283,0.004591
|
| 2039 |
+
2037,0.01474807,0.004587
|
| 2040 |
+
2038,0.01330672,0.004139
|
| 2041 |
+
2039,0.01788114,0.005561
|
| 2042 |
+
2040,0.01544659,0.004804
|
| 2043 |
+
2041,0.01308145,0.004069
|
| 2044 |
+
2042,0.01362682,0.004238
|
| 2045 |
+
2043,0.01554075,0.004833
|
| 2046 |
+
2044,0.01439869,0.004478
|
| 2047 |
+
2045,0.01486397,0.004623
|
| 2048 |
+
2046,0.01119354,0.003481
|
| 2049 |
+
2047,0.01620919,0.005041
|
SignX/pose_vit_feature_analysis_3381121/metadata.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"video": "/common/users/sf895/output/huggingface_asllrp_repo/SignX/eval/tiny_test_data/good_videos/3381121.mp4",
|
| 3 |
+
"checkpoint": "/common/users/sf895/output/huggingface_asllrp_repo/SignX/smkd/pretrained/video2text_checkpoint_epoch_14.pth",
|
| 4 |
+
"num_frames": 32,
|
| 5 |
+
"device": "cuda",
|
| 6 |
+
"top_dimensions": [
|
| 7 |
+
1192,
|
| 8 |
+
1750,
|
| 9 |
+
580,
|
| 10 |
+
1284,
|
| 11 |
+
887,
|
| 12 |
+
560,
|
| 13 |
+
1863,
|
| 14 |
+
1531,
|
| 15 |
+
747,
|
| 16 |
+
1233,
|
| 17 |
+
1312,
|
| 18 |
+
529,
|
| 19 |
+
90,
|
| 20 |
+
394,
|
| 21 |
+
1249,
|
| 22 |
+
1647,
|
| 23 |
+
294,
|
| 24 |
+
457,
|
| 25 |
+
263,
|
| 26 |
+
35,
|
| 27 |
+
1074,
|
| 28 |
+
1043,
|
| 29 |
+
1714,
|
| 30 |
+
948,
|
| 31 |
+
1903,
|
| 32 |
+
1154,
|
| 33 |
+
695,
|
| 34 |
+
124,
|
| 35 |
+
150,
|
| 36 |
+
1269,
|
| 37 |
+
1897,
|
| 38 |
+
1471
|
| 39 |
+
]
|
| 40 |
+
}
|
SignX/{detailed_prediction_20260101_150706/632051/frame_alignment_short.png → pose_vit_feature_analysis_3381121/pose_2048.npy}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44137cba99895a0b4dc53b0e6c463b73d42be0906feb1c72dc5be16e85c3b83b
|
| 3 |
+
size 262272
|
SignX/{detailed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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
SignX 插件的后端处理器
|
| 4 |
+
通过 WebSocket plugin_message 机制处理视频列表和推理请求
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
import os
|
| 8 |
+
import subprocess
|
| 9 |
+
import time
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
from typing import Dict, List, Any
|
| 12 |
+
|
| 13 |
+
# SignX 插件路径
|
| 14 |
+
SIGNX_PLUGIN_DIR = Path(__file__).parent
|
| 15 |
+
INFERENCE_SCRIPT = SIGNX_PLUGIN_DIR / "inference.sh"
|
| 16 |
+
TEST_DATA_DIR = SIGNX_PLUGIN_DIR / "eval" / "tiny_test_data"
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# 使用 PluginBackend 作为类名,这样会被主程序自动识别
|
| 20 |
+
class PluginBackend:
|
| 21 |
+
"""SignX 后端处理类"""
|
| 22 |
+
|
| 23 |
+
def __init__(self, viser_server=None):
|
| 24 |
+
"""
|
| 25 |
+
初始化 SignX 后端
|
| 26 |
+
|
| 27 |
+
Args:
|
| 28 |
+
viser_server: Viser 服务器实例(可选)
|
| 29 |
+
"""
|
| 30 |
+
self.viser_server = viser_server
|
| 31 |
+
self.name = "signx" # 插件标识符(用于 WebSocket 通信)
|
| 32 |
+
print("✅ SignX 后端已初始化")
|
| 33 |
+
|
| 34 |
+
def handle_message(self, message: Dict[str, Any]) -> Dict[str, Any]:
|
| 35 |
+
"""
|
| 36 |
+
处理来自前端的 WebSocket 消息
|
| 37 |
+
|
| 38 |
+
Args:
|
| 39 |
+
message: 包含 plugin, action, data 的消息字典
|
| 40 |
+
|
| 41 |
+
Returns:
|
| 42 |
+
处理结果字典
|
| 43 |
+
"""
|
| 44 |
+
action = message.get('action', '')
|
| 45 |
+
data = message.get('data', {})
|
| 46 |
+
|
| 47 |
+
print(f"📨 SignX 收到消息: action={action}")
|
| 48 |
+
|
| 49 |
+
# 根据 action 分发到不同的处理函数
|
| 50 |
+
if action == 'list_videos':
|
| 51 |
+
return self.list_videos(data)
|
| 52 |
+
elif action == 'run_inference':
|
| 53 |
+
return self.run_inference(data)
|
| 54 |
+
else:
|
| 55 |
+
return {
|
| 56 |
+
'status': 'error',
|
| 57 |
+
'message': f'未知的 action: {action}'
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
def list_videos(self, data: Dict[str, Any]) -> Dict[str, Any]:
|
| 61 |
+
"""列出指定文件夹中的视频文件"""
|
| 62 |
+
folder = data.get('folder', 'good_videos')
|
| 63 |
+
folder_path = TEST_DATA_DIR / folder
|
| 64 |
+
|
| 65 |
+
if not folder_path.exists():
|
| 66 |
+
return {
|
| 67 |
+
"status": "error",
|
| 68 |
+
"message": f"文件夹不存在: {folder}"
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
videos = []
|
| 72 |
+
for video_file in sorted(folder_path.glob("*.mp4")):
|
| 73 |
+
videos.append({
|
| 74 |
+
"name": video_file.name,
|
| 75 |
+
"path": str(video_file)
|
| 76 |
+
})
|
| 77 |
+
|
| 78 |
+
print(f"📂 找到 {len(videos)} 个视频文件")
|
| 79 |
+
|
| 80 |
+
return {
|
| 81 |
+
"status": "success",
|
| 82 |
+
"videos": videos,
|
| 83 |
+
"count": len(videos)
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
def run_inference(self, data: Dict[str, Any]) -> Dict[str, Any]:
|
| 87 |
+
"""运行 SignX 推理"""
|
| 88 |
+
video_path = data.get('video_path', '')
|
| 89 |
+
|
| 90 |
+
# 检查视频文件是否存在
|
| 91 |
+
if not os.path.exists(video_path):
|
| 92 |
+
return {
|
| 93 |
+
"status": "error",
|
| 94 |
+
"message": f"视频文件不存在: {video_path}"
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
# 检查推理脚本是否存在
|
| 98 |
+
if not INFERENCE_SCRIPT.exists():
|
| 99 |
+
return {
|
| 100 |
+
"status": "error",
|
| 101 |
+
"message": f"推理脚本不存在: {INFERENCE_SCRIPT}"
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
# 生成输出文件路径(使用时间戳避免冲突)
|
| 105 |
+
timestamp = int(time.time())
|
| 106 |
+
output_file = SIGNX_PLUGIN_DIR / f"inference_output_{timestamp}.txt"
|
| 107 |
+
output_file_clean = SIGNX_PLUGIN_DIR / f"inference_output_{timestamp}.txt.clean"
|
| 108 |
+
|
| 109 |
+
print(f"🎬 开始推理: {video_path}")
|
| 110 |
+
|
| 111 |
+
try:
|
| 112 |
+
# 运行推理脚本,实时收集输出
|
| 113 |
+
start_time = time.time()
|
| 114 |
+
|
| 115 |
+
# 切换到 SignX 目录并运行脚本
|
| 116 |
+
process = subprocess.Popen(
|
| 117 |
+
["bash", str(INFERENCE_SCRIPT), video_path, str(output_file)],
|
| 118 |
+
cwd=str(SIGNX_PLUGIN_DIR),
|
| 119 |
+
stdout=subprocess.PIPE,
|
| 120 |
+
stderr=subprocess.STDOUT, # 合并 stderr 到 stdout
|
| 121 |
+
text=True,
|
| 122 |
+
bufsize=1 # 行缓冲
|
| 123 |
+
)
|
| 124 |
+
|
| 125 |
+
# 收集所有输出
|
| 126 |
+
log_lines = []
|
| 127 |
+
try:
|
| 128 |
+
for line in process.stdout:
|
| 129 |
+
line = line.rstrip()
|
| 130 |
+
if line:
|
| 131 |
+
log_lines.append(line)
|
| 132 |
+
print(f" {line}") # 同时打印到控制台
|
| 133 |
+
|
| 134 |
+
# 等待进程结束
|
| 135 |
+
process.wait(timeout=600) # 10分钟超时
|
| 136 |
+
|
| 137 |
+
except subprocess.TimeoutExpired:
|
| 138 |
+
process.kill()
|
| 139 |
+
print("⏱️ 推理超时")
|
| 140 |
+
return {
|
| 141 |
+
"status": "error",
|
| 142 |
+
"message": "推理超时(超过10分钟)",
|
| 143 |
+
"logs": log_lines
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
execution_time = time.time() - start_time
|
| 147 |
+
|
| 148 |
+
# 检查是否成功
|
| 149 |
+
if process.returncode != 0:
|
| 150 |
+
print(f"❌ 推理失败: returncode={process.returncode}")
|
| 151 |
+
return {
|
| 152 |
+
"status": "error",
|
| 153 |
+
"message": "推理失败",
|
| 154 |
+
"returncode": process.returncode,
|
| 155 |
+
"logs": log_lines
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
# 读取输出文件
|
| 159 |
+
output_text = ""
|
| 160 |
+
output_clean = ""
|
| 161 |
+
|
| 162 |
+
if output_file.exists():
|
| 163 |
+
with open(output_file, 'r', encoding='utf-8') as f:
|
| 164 |
+
output_text = f.read()
|
| 165 |
+
|
| 166 |
+
if output_file_clean.exists():
|
| 167 |
+
with open(output_file_clean, 'r', encoding='utf-8') as f:
|
| 168 |
+
output_clean = f.read()
|
| 169 |
+
|
| 170 |
+
# 查找详细分析目录
|
| 171 |
+
analysis_dir = None
|
| 172 |
+
analysis_images = []
|
| 173 |
+
|
| 174 |
+
# 查找 detailed_prediction_* 目录
|
| 175 |
+
for item in SIGNX_PLUGIN_DIR.iterdir():
|
| 176 |
+
if item.is_dir() and item.name.startswith("detailed_prediction_"):
|
| 177 |
+
# 使用最新的分析目录
|
| 178 |
+
if analysis_dir is None or item.stat().st_mtime > analysis_dir.stat().st_mtime:
|
| 179 |
+
analysis_dir = item
|
| 180 |
+
|
| 181 |
+
if analysis_dir:
|
| 182 |
+
# 查找分析图片
|
| 183 |
+
sample_dirs = [d for d in analysis_dir.iterdir() if d.is_dir()]
|
| 184 |
+
if sample_dirs:
|
| 185 |
+
# 使用第一个样本目录
|
| 186 |
+
sample_dir = sample_dirs[0]
|
| 187 |
+
|
| 188 |
+
# 收集所有分析图片和HTML文件
|
| 189 |
+
analysis_files = []
|
| 190 |
+
|
| 191 |
+
# 主要分析图片
|
| 192 |
+
image_files = [
|
| 193 |
+
("attention_heatmap.png", "注意力权重热图"),
|
| 194 |
+
("frame_alignment.png", "词-帧对齐图 (完整)"),
|
| 195 |
+
("frame_alignment_short.png", "词-帧对齐图 (简化)"),
|
| 196 |
+
("gloss_to_frames.png", "Gloss-视频帧对应图"),
|
| 197 |
+
]
|
| 198 |
+
|
| 199 |
+
for img_file, display_name in image_files:
|
| 200 |
+
img_path = sample_dir / img_file
|
| 201 |
+
if img_path.exists():
|
| 202 |
+
# 返回相对于插件目录的路径,用于Web访问
|
| 203 |
+
rel_path = img_path.relative_to(SIGNX_PLUGIN_DIR)
|
| 204 |
+
# 构造Web URL
|
| 205 |
+
web_url = f"/plugins/SignX/{rel_path}"
|
| 206 |
+
analysis_files.append({
|
| 207 |
+
"name": display_name,
|
| 208 |
+
"type": "image",
|
| 209 |
+
"url": web_url,
|
| 210 |
+
"filename": img_file
|
| 211 |
+
})
|
| 212 |
+
|
| 213 |
+
# 交互式HTML文件
|
| 214 |
+
html_path = sample_dir / "interactive_alignment.html"
|
| 215 |
+
if html_path.exists():
|
| 216 |
+
rel_path = html_path.relative_to(SIGNX_PLUGIN_DIR)
|
| 217 |
+
web_url = f"/plugins/SignX/{rel_path}"
|
| 218 |
+
analysis_files.append({
|
| 219 |
+
"name": "交互式对齐可视化",
|
| 220 |
+
"type": "html",
|
| 221 |
+
"url": web_url,
|
| 222 |
+
"filename": "interactive_alignment.html"
|
| 223 |
+
})
|
| 224 |
+
|
| 225 |
+
# 关键帧文件夹
|
| 226 |
+
keyframes_dir = sample_dir / "attention_keyframes"
|
| 227 |
+
if keyframes_dir.exists():
|
| 228 |
+
# 读取索引文件
|
| 229 |
+
index_file = keyframes_dir / "keyframes_index.txt"
|
| 230 |
+
keyframe_info = None
|
| 231 |
+
if index_file.exists():
|
| 232 |
+
with open(index_file, 'r', encoding='utf-8') as f:
|
| 233 |
+
keyframe_info = f.read()
|
| 234 |
+
|
| 235 |
+
rel_path = keyframes_dir.relative_to(SIGNX_PLUGIN_DIR)
|
| 236 |
+
web_url = f"/plugins/SignX/{rel_path}"
|
| 237 |
+
|
| 238 |
+
# 收集前几个关键帧作为预览
|
| 239 |
+
keyframe_previews = []
|
| 240 |
+
for kf in sorted(keyframes_dir.glob("keyframe_*.png"))[:6]: # 只取前6个
|
| 241 |
+
kf_rel = kf.relative_to(SIGNX_PLUGIN_DIR)
|
| 242 |
+
keyframe_previews.append({
|
| 243 |
+
"url": f"/plugins/SignX/{kf_rel}",
|
| 244 |
+
"name": kf.stem
|
| 245 |
+
})
|
| 246 |
+
|
| 247 |
+
analysis_files.append({
|
| 248 |
+
"name": "注意力关键帧",
|
| 249 |
+
"type": "keyframes",
|
| 250 |
+
"url": web_url,
|
| 251 |
+
"info": keyframe_info,
|
| 252 |
+
"previews": keyframe_previews,
|
| 253 |
+
"count": len(list(keyframes_dir.glob("keyframe_*.png")))
|
| 254 |
+
})
|
| 255 |
+
|
| 256 |
+
analysis_images = analysis_files
|
| 257 |
+
|
| 258 |
+
print(f"✅ 推理完成,耗时 {execution_time:.2f} 秒")
|
| 259 |
+
|
| 260 |
+
return {
|
| 261 |
+
"status": "success",
|
| 262 |
+
"output": output_text,
|
| 263 |
+
"output_clean": output_clean,
|
| 264 |
+
"execution_time": execution_time,
|
| 265 |
+
"analysis_dir": str(analysis_dir) if analysis_dir else None,
|
| 266 |
+
"analysis_images": analysis_images,
|
| 267 |
+
"video_path": video_path,
|
| 268 |
+
"logs": log_lines # 返回完整日志
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
+
except Exception as e:
|
| 272 |
+
print(f"❌ 推理出错: {e}")
|
| 273 |
+
import traceback
|
| 274 |
+
traceback.print_exc()
|
| 275 |
+
return {
|
| 276 |
+
"status": "error",
|
| 277 |
+
"message": f"推理过程出错: {str(e)}"
|
| 278 |
+
}
|