Skip to content

CDM渲染问题 #115

@SeeeeShiwei

Description

@SeeeeShiwei

按照cdm安装说明方法,完成cdm安装。

使用仓库中提供的json来测试,
[
{
"img_id": "case_1",
"gt": "y = 2z + 3x",
"pred": "y = 2x + 3z"
},
{
"img_id": "case_2",
"gt": "y = x^2 + 1",
"pred": "y = x^2 + 1"
}
]

Image

gt和pred bbox jsonl生成的有点问题。
case_1.jsonl
{"bbox": [], "token": "y"}
{"bbox": [], "token": "="}
{"bbox": [], "token": "2"}
{"bbox": [], "token": "z"}
{"bbox": [], "token": "+"}
{"bbox": [], "token": "3"}
{"bbox": [], "token": "x"}

vis可视化貌似有点问题。
case_1_base.png如下

Image

case_1.png如下

Image

最后的metrics_res.json为NaN
{
"mean_score": NaN,
"exp_rate": NaN,
"details": {}
}

辛苦解答~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions