Datasets:
sample_id stringlengths 13 13 | scene_id stringdate 0001-01-01 00:00:00 1000-01-01 00:00:00 | fleet_id stringclasses 25
values | instruction stringlengths 8.75k 15.9k | input stringclasses 1
value | output stringlengths 375 4.87k | fleet_json stringclasses 25
values | zones_json stringclasses 800
values | num_uavs int32 3 8 | num_extinguishing_uavs int32 2 7 | num_surveillance_uavs int32 1 3 | num_zones int32 1 5 | num_fire_points int32 0 18 | origin stringclasses 2
values | prompt_version stringclasses 2
values | validation_scope stringclasses 1
value | plan_sha256 stringlengths 64 64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001_fleet_01 | 0001 | fleet_01 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.305, 0.015, 100.0, 12.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('UAV_01')
return_to_base('UAV_01')
land('UAV_01')
resupply('UAV_01')
# Sortie 2
takeoff('UAV_01', 100.0)
fly... | [{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":12.0,"sensor_range":0.2},"description":"1","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":10.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 3 | 2 | 1 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | a1c18b2cbde9fb9550b3c96b64fa3fef7cb00c302ac79c201a3e33f714485408 | |
0001_fleet_02 | 0001 | fleet_02 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.695, 0.135, 100.0, 15.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
return_to_base('UAV_01')
land('UAV_01')
resupply('UAV_01')
# Sortie 2
takeoff('UAV_01', 100.0)
fly... | [{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":15.0,"sensor_range":0.2},"description":"1","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":14.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 3 | 2 | 1 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | e2260266c5027883d7e87eb66b0caa4eff341da4f7b41d3a0996826a46f6e888 | |
0001_fleet_03 | 0001 | fleet_03 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.305, 0.015, 100.0, 14.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('UAV_01')
fly_to_point('UAV_01', 0.455, 0.395, 100.0, 14.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('... | [{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":14.0,"sensor_range":0.2},"description":"2","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":15.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 4 | 3 | 1 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | 63fa0544c7412046f4d81cb91c373c1fc799e2acd1e4e76053855d7c1726ee6b | |
0001_fleet_04 | 0001 | fleet_04 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.695, 0.135, 100.0, 13.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
fly_to_point('UAV_01', 0.745, 0.395, 100.0, 13.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('... | [{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":13.0,"sensor_range":0.2},"description":"2","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":14.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 4 | 2 | 2 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | f2872ae501ad065ecd3858fa9687c88287185715438318315d8cb5fcf30568f3 | |
0001_fleet_05 | 0001 | fleet_05 |
You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- No Chinese characters or punctuation: no , 。 、 " " : ; ! ? ( ) 【 】
- No markdown blocks: no ``` or ```python
- No emoji: no ✅ ❌ 🚀
- No natural language before/... | # Deterministic mission planner: rules_v1_1
# Coordinates are trusted input; no model inference.
# =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.905, 0.725, 100.0, 14.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
... | [{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":14.0,"sensor_range":0.2},"description":"2","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":15.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 4 | 2 | 2 | 3 | 6 | rule_generated | payload_contract | packaging_integrity_and_python_syntax | e6ad733b9cf3ae13d525fbe5266200e92c1093076ca516259ec2a273336f2c5c | |
0001_fleet_06 | 0001 | fleet_06 |
You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- No Chinese characters or punctuation: no , 。 、 " " : ; ! ? ( ) 【 】
- No markdown blocks: no ``` or ```python
- No emoji: no ✅ ❌ 🚀
- No natural language before/... | # Deterministic mission planner: rules_v1_1
# Coordinates are trusted input; no model inference.
# =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.695, 0.135, 100.0, 15.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
... | [{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":15.0,"sensor_range":0.2},"description":"1","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":12.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 4 | 3 | 1 | 3 | 6 | rule_generated | payload_contract | packaging_integrity_and_python_syntax | c1d5ee2e10279df6744c87ec94815e39ab219566bc303899be725849ce243c16 | |
0001_fleet_07 | 0001 | fleet_07 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.455, 0.395, 100.0, 15.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('UAV_01')
SearchArea(['UAV_01'], 'zone_1')
return_to_base('UAV_01')
land('UAV_01')
# =======================... | [{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":15.0,"sensor_range":0.2},"description":"1","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":15.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 5 | 3 | 2 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | 417b061ff2ef92cfa80e0bf4b4fab40e1991851c1c13e5f78e7d2d110e153226 | |
0001_fleet_08 | 0001 | fleet_08 | You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- Output must be pure ASCII: no CJK characters, no fullwidth punctuation, no emoji
- No markdown blocks: no ``` or ```python
- No natural language before/after cod... | # =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.305, 0.015, 100.0, 15.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('UAV_01')
fly_to_point('UAV_01', 0.455, 0.395, 100.0, 15.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('... | [{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":15.0,"sensor_range":0.2},"description":"2","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":15.0,"sensor_range":0.2},"des... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 5 | 3 | 2 | 3 | 6 | reference | core_rules | packaging_integrity_and_python_syntax | 230e909f2e4b350008f8236d8378787f9847c13cddce92d9c98bdeb5ef806845 | |
0001_fleet_09 | 0001 | fleet_09 |
You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- No Chinese characters or punctuation: no , 。 、 " " : ; ! ? ( ) 【 】
- No markdown blocks: no ``` or ```python
- No emoji: no ✅ ❌ 🚀
- No natural language before/... | # Deterministic mission planner: rules_v1_1
# Coordinates are trusted input; no model inference.
# =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.305, 0.015, 100.0, 12.0)
hover_and_wait('UAV_01', 10.0)
drop_water_bomb('UAV_01')
... | [{"battery":100.0,"capabilities":{"current_payload":3,"max_fire_extinguisher":3,"max_speed":12.0,"sensor_range":0.2},"description":"frontend-custom-uav","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":4,"max_fire_extinguisher":4,"max_speed":15.0,"senso... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 3 | 2 | 1 | 3 | 6 | rule_generated | payload_contract | packaging_integrity_and_python_syntax | afeed966b46dbb85c93ad99027c8eea29072a0aefcde565e8c27758a269d68d4 | |
0001_fleet_10 | 0001 | fleet_10 |
You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- No Chinese characters or punctuation: no , 。 、 " " : ; ! ? ( ) 【 】
- No markdown blocks: no ``` or ```python
- No emoji: no ✅ ❌ 🚀
- No natural language before/... | # Deterministic mission planner: rules_v1_1
# Coordinates are trusted input; no model inference.
# =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.745, 0.395, 100.0, 12.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
... | [{"battery":100.0,"capabilities":{"current_payload":1,"max_fire_extinguisher":1,"max_speed":12.0,"sensor_range":0.2},"description":"frontend-custom-uav","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":3,"max_fire_extinguisher":3,"max_speed":15.0,"senso... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 4 | 3 | 1 | 3 | 6 | rule_generated | payload_contract | packaging_integrity_and_python_syntax | 566371d95f3f0bc1a846b91c7a57b25f8a1b01843f85da00987a66ed25188b6e | |
0001_fleet_11 | 0001 | fleet_11 |
You are a Python code generator. Output ONLY the mission code, nothing else.
FORMAT RULES (violations will be rejected):
- First output character MUST be #
- No Chinese characters or punctuation: no , 。 、 " " : ; ! ? ( ) 【 】
- No markdown blocks: no ``` or ```python
- No emoji: no ✅ ❌ 🚀
- No natural language before/... | # Deterministic mission planner: rules_v1_1
# Coordinates are trusted input; no model inference.
# =========================
# UAV_01 mission chain
# =========================
# Sortie 1
takeoff('UAV_01', 100.0)
fly_to_point('UAV_01', 0.745, 0.395, 100.0, 12.0)
hover_and_wait('UAV_01', 15.0)
drop_water_bomb('UAV_01')
... | [{"battery":100.0,"capabilities":{"current_payload":2,"max_fire_extinguisher":2,"max_speed":12.0,"sensor_range":0.2},"description":"frontend-custom-uav","id":"UAV_01","location":[0.0,0.0],"type":"extinguishing_drone"},{"battery":100.0,"capabilities":{"current_payload":3,"max_fire_extinguisher":3,"max_speed":15.0,"senso... | [{"boundary_description":"覆盖图像最左侧 25% 的垂直切片区域。","coordinates":[[0.0,0.0],[0.25,0.0],[0.25,1.0],[0.0,1.0]],"fire_points":[],"id":"zone_0","reason":"该区域为西部森林背景区,未检测到任何热源或烟雾,划定为安全监测区。","risk_level":"Monitor"},{"boundary_description":"连接中部散落火点,划定为中部垂直任务走廊。","coordinates":[[0.25,0.0],[0.6,0.0],[0.6,1.0],[0.25,1.0]],"fire_po... | 5 | 3 | 2 | 3 | 6 | rule_generated | payload_contract | packaging_integrity_and_python_syntax | 39fd56420b02923b22a64e82abf77dc6d19aa7f51348a89fb73dd89c0d39ab3a |
ForestFireFighting
森林火灾场景理解与多无人机任务规划数据集
面向森林火灾场景理解、风险区域分析与多无人机协同任务规划研究,提供相互关联的图像、区域标注、机群资源和参考任务代码。
数据组成
数据规模按 1,000 个场景、25 种机群配置、25,000 条规划样本 分别统计。每个场景对应全部 25 种配置,形成完整的“场景 × 机群”配对。
| 子集 | 规模 | 一条样本包含 | 主要用途 |
|---|---|---|---|
vision |
1,000 条 | 原始图像、风险区域、火点坐标、标注解释 | 场景理解与结构化视觉预测 |
planning |
25,000 条 | 任务指令、场景信息、机群资源、参考 Python 代码 | 指令微调与任务规划评估 |
两个子集通过 scene_id 关联。planning 默认加载,图像集中保存在 vision 中,可按研究任务分别使用或关联使用。
图 1 数据组织关系。 每个场景与 25 种机群配置配对,视觉记录与规划记录通过 scene_id 关联。
样本示例
下面展示场景 0001 及其 fleet_01 配置:包含 3 个风险区域、6 个火点、2 架灭火无人机和 1 架侦察无人机。
图 2 场景 0001 的图像与标注。 (a) 原始图像;(b) 区域风险与火点标注。蓝、黄、红色边界分别对应 Monitor、Low、High,红色叉号表示火点。
区域标注包括边界、风险等级与火点位置;机群配置包含无人机类型、载荷、速度等资源信息。规划指令定义任务要求,参考代码组织起飞、飞行、投放、搜索、返航及补给等动作。
该场景的完整标注见 场景示例,机群资源与参考任务代码见 规划示例。配图可点击放大查看。
数据规模与划分
图 3 数据分布。 (a) 风险区域数量,按场景统计一次,共 4,158 个区域;(b) 各无人机规模对应的机群配置数量,共 25 种配置。场景中共标注 5,128 个火点。
| 划分 | 场景数 | 规划样本数 | 比例 |
|---|---|---|---|
训练集 train |
800 | 20,000 | 80% |
验证集 validation |
100 | 2,500 | 10% |
测试集 test |
100 | 2,500 | 10% |
| 合计 | 1,000 | 25,000 | 100% |
按场景分组划分,固定随机种子为 20261115;同一场景的 25 条规划始终位于同一集合。相同图片或完全相同的规划场景信息也归入同一组。划分清单见 scene_splits.json。
风险区域与火点数量均按场景统计一次。每个场景包含 1–5 个区域、0–18 个标注火点;机群规模覆盖 3–8 架无人机。各划分使用相同的 25 种机群配置,适合评估模型在留出场景上的规划表现。
快速使用
安装依赖:
pip install -U datasets pillow
import json
from datasets import load_dataset
repo = "DONKEY13479/ForestFireFIghting"
# 加载规划数据:任务指令、机群资源和参考代码
planning = load_dataset(repo, "planning", split="train")
sample = planning[0]
print(sample["scene_id"], sample["fleet_id"])
print(sample["output"])
fleet = json.loads(sample["fleet_json"])
# 流式读取图像数据,避免一次性缓存完整图像子集
vision = load_dataset(repo, "vision", split="train", streaming=True)
scene = next(iter(vision))
image = scene["image"].convert("RGB")
zones = json.loads(scene["zones_json"])
使用 scene_id 在同一划分中关联场景与规划记录。嵌套标注和机群资源以 JSON 字符串存储,通过 json.loads() 解析。
字段与文件
常用字段如下,完整字段说明可展开查看。
| 内容 | 关键字段 |
|---|---|
| 样本关联 | scene_id、fleet_id、sample_id |
| 图像与标注 | image、zones_json、num_zones、num_fire_points |
| 规划训练 | instruction、input、output |
| 机群资源 | fleet_json、num_uavs、num_extinguishing_uavs、num_surveillance_uavs |
| 来源与校验 | origin、prompt_version、validation_scope、SHA-256 字段 |
展开完整字段说明
视觉子集 vision
| 字段 | 说明 |
|---|---|
scene_id |
四位场景编号,例如 0001 |
image |
原始 PNG 图像,由 Datasets 解码为 PIL Image |
width、height、mode |
原图宽度、高度与颜色模式 |
num_zones、num_fire_points |
区域数与场景火点总数 |
zones_json |
完整区域标注,包含源标注提供的解释文字 |
image_sha256、zones_sha256 |
原图字节与规范化标注 JSON 的校验值 |
visualization_file |
相对于仓库根目录的标注展示图路径 |
区域对象包含 id、risk_level、coordinates、fire_points,以及源标注提供的 reason、boundary_description。风险标签为 Monitor、Low、High。坐标按图像宽高归一化到 [0, 1],原点为左上角,x 向右、y 向下。
原图包含 178 张 RGB 和 822 张 RGBA 图像,保留原始尺寸与颜色模式;模型需要三通道输入时可调用 .convert("RGB")。
规划子集 planning
| 字段 | 说明 |
|---|---|
sample_id |
唯一样本编号,例如 0001_fleet_01 |
scene_id、fleet_id |
关联场景与机群配置 |
instruction、input、output |
完整任务指令、输入字段与参考 Python 任务代码 |
fleet_json、zones_json |
当前机群资源与完整场景标注 |
num_uavs |
无人机总数 |
num_extinguishing_uavs、num_surveillance_uavs |
灭火与侦察无人机数量 |
num_zones、num_fire_points |
场景区域数与火点数 |
origin |
参考结果来源类别:reference 或 rule_generated |
prompt_version |
提示词类型:core_rules 或 payload_contract |
validation_scope |
整理阶段的校验范围 |
plan_sha256 |
output 原文 UTF-8 字节的校验值 |
instruction 内包含规划所需的区域字段,zones_json 同时保留完整的标注解释。prompt_version 用于区分提示词类型。
展开目录结构与辅助文件
ForestFireFIghting/
├── README.md
├── LICENSE
├── data/
│ ├── vision/ # 图像与场景标注 Parquet 分片
│ └── planning/ # 规划样本 Parquet 分片
├── assets/ # 本说明中的概览图与样例图
├── examples/ # 可直接阅读的 JSON 示例
├── visualizations/ # 1,000 张标注展示图
├── metadata/
│ ├── fleets.json # 25 种机群配置
│ ├── scene_splits.json # 场景划分清单
│ ├── duplicate_groups.json # 精确重复分组记录
│ ├── provenance.json # 生成方式与提示词类型
│ ├── validation_report.json # 数据完整性校验报告
│ ├── loading_check.json # Datasets 加载验证
│ └── checksums.sha256 # 文件校验和
├── requirements.txt
└── scripts/ # 本地整理脚本
数据采用 Parquet 格式和 Zstandard 压缩,共 30 个分片。完整机群资源见 fleets.json。
数据说明
- 保留原始数据。 整理过程保留原始图像字节及
instruction、input、output内容,未重新生成规划结果。规划包含 932 条参考记录和 24,068 条规则规划器生成记录。 - 提供校验依据。 已完成样本对应关系、Python 语法、Parquet 读回及训练字段保真检查,详见 完整性报告 与 加载验证。当前检查覆盖数据完整性与代码语法,任务执行效果需结合仿真或实际平台评估。
- 保留分组关系。 8 个无火点场景的规划表示完全相同,已共同归入训练集;全部样本保留。视觉近似重复检测未纳入当前划分流程。
维护者:DONKEY13479 · 许可证:Apache-2.0
- Downloads last month
- 136


