成对回归
如果需要训练一个成对回归模型的数据集,可以使用此模板根据图像相似度对图像对进行评分。您还可以自定义此模板,对不同类型数据的各种属性进行评分,例如评估两段电影评论文本的情感是否相似。
交互式模板预览
标注配置
<View>
<Header>Set how likely these images represent the same thing:</Header>
<View style="display: grid; column-gap: 8px; grid-template: auto/1fr 1fr">
<Image name="image1" value="$image1" />
<Image name="image2" value="$image2" />
</View>
<View style="margin-left: auto; margin-right: auto; width: 16em">
<Rating name="rating" toName="image1,image2"/>
</View>
</View>
关于标注配置
所有标注配置必须包含在View标签内。
您可以添加一个header来为标注者提供说明:
<Header>Set how likely these images represent the same thing:</Header>
为包裹图像标签的View标签添加样式,以控制图像数据的显示方式:
<View style="display: grid; column-gap: 8px; grid-template: auto/1fr 1fr">
这种样式将包含的项目以网格形式显示,列与列之间有8像素的间距。
使用Image对象标签在标注界面上指定两张图像:
<Image name="image1" value="$image1" />
<Image name="image2" value="$image2" />
在Image标签后关闭View标签。
添加一个新的View标签并设置样式,以控制评分选项在标注界面上的显示方式:
<View style="margin-left: auto; margin-right: auto; width: 16em">
使用Rating控制标签显示星级评分,可应用于图片:
<Rating name="rating" toName="image1,image2"/>
在评分标签后关闭查看标签。