TopoSlots-MotionData / docs /ANNOTATION_GUIDELINE.md
Tevior's picture
Update README, docs (annotation plan + guidelines), scripts, src/data
eff1e50 verified

TopoSlots 动作文本标注规范

更新: 2026-03-19

1. 当前数据状况

1.1 总览

7 个数据集,24,448 条动作,79 种骨架(6 人类 + 73 动物)。

数据集 Motions 骨架 已有文本 覆盖率 文本质量 需要标注
HumanML3D 14,449 22j 人类 14,449 100% 高——人工多条标注 0
Bandai Namco 3,053 21j 人类 3,053 100% ——模板句,L1级 需升级
CMU MoCap 2,496 31j 人类 2,301 92% ——CMU官方索引直接拼接 195 + 升级
Mixamo 2,453 67j 人类 0 0% 2,453
Truebones Zoo 1,110 25~143j 动物×73种 888 80% 中——自动生成 species+action 222 + 审校
100Style 810 23j 人类 810 100% ——模板句,L1级 需升级
LAFAN1 77 22j 人类 77 100% ——仅动作类型 需升级

1.2 现有文本样例及问题

HumanML3D (OK, 不需要动):

"a man kicks something or someone with his left leg.|||the standing person kicks
with their left foot before going back to standing position.|||a person kicks with
their left leg.|||a person standing kicks their left foot forward."
  • 多条标注(3-5 条),自然语言,L2-L3 级别

Bandai Namco (需升级):

"A person performs a active bow."          ← 语法不通,模板生硬
"A person performs a angry bow."           ← 缺冠词、无细节
"A person performs walk turn left."        ← 不自然

CMU MoCap (需升级):

"A person performs: playground - forward jumps, turn around."   ← 原始索引直接拼接
"A person performs: walk."                                     ← 太简单

195 条完全无文本(CMU 索引中缺失或标注为 "Unknown" 的条目)

100Style (需升级):

"A person does a backward run in a aeroplane style."    ← 模板句,aeroplane style 含义不明
"A person stands idle in a monk style."                 ← style 语义对人来说不直观

LAFAN1 (需升级):

"A person performs aiming."       ← 极度简单,无任何细节
"A person performs fight."

Mixamo (完全缺失):

  • 文件名是哈希值(如 00041fd3325430d72c5a947e1171de3b.bvh),无任何语义信息
  • 必须通过观看 GIF 渲染来标注

Truebones Zoo (部分缺失):

"An alligator sways its head and wags its tail.|||An ambush predator sways its
head and wags its tail.|||An animal sways its head and wags its tail.|||"
  • 已有 888/1110 条,自动生成,质量中等
  • 缺失 222 条(主要是 Idle、TPOSE 等难以描述的姿态)

1.3 文本存储位置

文本存在 motion npz 文件的 texts 字段里

data = np.load("data/processed/{dataset}/motions/{id}.npz")
texts = str(data["texts"])  # 多条文本用 "|||" 分隔

另有结构化标签存在 data/processed/{dataset}/labels.json

1.4 可视化文件位置

每条 motion 都有渲染好的 GIF 和静态图,用于标注时参考:

/scratch/ts1v23/workspace/motion_representation_study/data/processed/{dataset}/renders/
  {id}.gif              ← stick figure 动画
  {id}_overview.png     ← 多视角静态截图

2. 标注任务

2.1 任务分级

优先级 任务 数据集 条数 方式
P0 从零标注 Mixamo 2,453 看 GIF 写描述
P1 补缺 + 审校 Truebones Zoo 222 缺失 + 888 审校 看 GIF 补写/修正
P1 补缺 CMU MoCap 195 看 GIF 写描述
P2 升级文本 Bandai Namco 3,053 看 GIF,替换模板句
P2 升级文本 100Style 810 看 GIF,替换模板句
P2 升级文本 LAFAN1 77 看 GIF,替换模板句
- 不需要 HumanML3D 0 已有高质量标注

2.2 P0/P1: 从零标注或补缺

打开对应的 GIF 文件,写 1-2 句英文描述

描述原则

  • 写 **"做什么"**,不写 "怎么做"
  • 以 "A person..." 或 "A [animal]..." 开头
  • 包含:动作主体 + 核心动作 + 方向/速度/风格(如适用)
  • 不要提及关节名、骨骼数量、骨架结构

好的描述

A person jogs forward and then slows to a walk.
A person throws a punch with their right hand then steps back.
A dog runs forward and leaps over an obstacle.
An eagle spreads its wings and takes off from the ground.

差的描述

❌ "Walking."                               → 太短,缺主体
❌ "The skeleton moves forward."             → 提到了骨架
❌ "Left knee bends 45 degrees."             → 关节级细节
❌ "A 67-joint character performs motion."    → 技术信息
❌ "一段动画"                                → 无信息量

2.3 P2: 升级已有模板文本

已有模板句需要替换为自然语言描述,不是在模板句上修改。

原始模板 → 升级后
A person performs a active bow. A person bows energetically with a wide arm gesture.
A person performs walk turn left. A person walks forward and makes a left turn.
A person does a backward run in a aeroplane style. A person runs backward with both arms extended out to the sides like airplane wings.
A person performs aiming. A person holds a steady aiming pose, looking forward with arms raised as if holding a rifle.

2.4 多条描述

每条动作至少写 2 条不同描述,用 ||| 分隔:

A person walks forward briskly.|||A person takes quick steps in the forward direction.

用词不同但语义相同。参考 HumanML3D 的风格——同一动作由不同人描述。


3. 标注格式

3.1 交付格式

每个数据集提交一个 JSON 文件:

{
  "000000": {
    "texts_en": [
      "A person bows politely with a slight forward lean.",
      "A person performs a respectful bow, bending at the waist."
    ],
    "action_category": "gesture",
    "style": "active",
    "notes": ""
  },
  "000001": {
    "texts_en": [
      "A person bows with an aggressive, exaggerated motion.",
      "A person angrily bends forward in a forceful bow."
    ],
    "action_category": "gesture",
    "style": "angry",
    "notes": ""
  }
}

字段说明:

字段 必填 说明
texts_en 英文描述列表,至少 2 条
action_category 动作大类(见下表)
style 选填 风格标签(如 angry, sneaky, tired)
notes 选填 标注备注(如 "动作不清晰"、"可能是两个动作拼接")

3.2 动作类别

人类

action_category 包含
locomotion walk, run, jog, sprint, crawl, sidestep, backward walk, skip, hop
upper_body wave, point, reach, grab, throw, push, pull, clap, salute
full_body jump, squat, lunge, stretch, bend, twist, turn, roll, cartwheel
dance ballet, hip hop, freestyle, waltz, spin
combat kick, punch, slash, block, dodge, stab
daily sit down, stand up, pick up, put down, drink, eat
gesture bow, nod, shrug, beckon, wave goodbye
idle stand, t-pose, rest pose, breathe

动物

action_category 包含
locomotion walk, run, gallop, trot, slither, fly, swim, hop, crawl
combat attack, bite, claw, charge, headbutt, sting
idle stand, sit, lie down, sleep, breathe, look around
vocalization roar, bark, hiss, chirp, howl
interaction eat, drink, dig, scratch, groom, play
aerial takeoff, land, dive, soar, hover

4. 标注工具

4.1 查看动作

GIF 和概览图在:

/scratch/ts1v23/workspace/motion_representation_study/data/processed/{dataset}/renders/

用任何图片查看器打开 .gif 即可预览动作。如果 GIF 不够清晰,可以看 _overview.png 的多视角静态图。

4.2 按数据集分配

建议按数据集拆分给不同标注者:

标注者 数据集 条数
A Mixamo (前半) ~1,200
B Mixamo (后半) ~1,200
C Bandai Namco 3,053
D CMU MoCap (195 缺失) + 100Style + LAFAN1 ~1,082
E Truebones Zoo (222 缺失 + 888 审校) ~1,110

4.3 审校 Truebones Zoo

对已有的 888 条 Zoo 文本,审校任务是:

  1. 打开 GIF
  2. 对比已有文本,判断是否准确
  3. 如果描述有误或太泛(如 "An animal moves"),重写
  4. 如果描述正确,跳过

5. 质量标准

  • 每条动作至少 2 条英文描述
  • 描述必须以 "A person..." / "A [animal]..." 开头
  • 描述不提及骨骼/关节/技术细节
  • action_category 全部填写
  • 动作与描述不匹配率 < 5%(抽样检查)
  • Idle / T-Pose 也需要标注(如 "A person stands still in a neutral pose.")