筛选 shapes 字段为空的 JSON 标注文件,并移动到「无标签json文件」子目录。当用户提到筛选空标签 JSON、清洗 JSON 标注时使用。
筛选无标签内容的 JSON 文件
在指定目录下,筛选出 shapes 字段为空的 JSON 文件,并将其移动到 无标签json文件 子目录中。常用于数据清洗场景。
office/skills/ruiming/screen_without_label_json_file/
from skills.ruiming import screen_without_label_json_file
screen_without_label_json_file(dir_path='./jsons')| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
dir_path | str | 是 | - | JSON 文件的存放路径 |
None(结果直接打印输出)
from skills.ruiming import screen_without_label_json_file
screen_without_label_json_file(dir_path='./annotations')office.api.testApi.ruiming.screen_without_label_json_file
dd6fe56
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.