【发布时间】:2019-11-28 14:32:52
【问题描述】:
我正在使用 Mturk 创建一个数据集进行训练。多类图像分类器。
crowd-image-classifier template 的文档没有说明如何执行此操作。我应该为此创建一个crowd-checkbox 吗?如何? This question and comment 建议使用javascript。
<script src="https://assets.crowd.aws/crowd-html-elements.js"></script>
<!-- For the full list of available Crowd HTML Elements and their input/output documentation,
please refer to https://docs.aws.amazon.com/sagemaker/latest/dg/sms-ui-template-reference.html -->
<!-- You must include crowd-form so that your task submits answers to MTurk -->
<crowd-form answer-format="flatten-objects">
<!-- The crowd-classifier element will create a tool for the Worker to select the
correct answer to your question.
Your image file URLs will be substituted for the "image_url" variable below
when you publish a batch with a CSV input file containing multiple image file URLs.
To preview the element with an example image, try setting the src attribute to
"https://s3.amazonaws.com/cv-demo-images/one-bird.jpg" -->
<crowd-image-classifier
src="${image_url}"
categories="['Cat', 'Dog', 'Bird', 'None of the Above']"
header="Choose the correct category"
name="category">
<!-- Use the short-instructions section for quick instructions that the Worker
will see while working on the task. Including some basic examples of
good and bad answers here can help get good results. You can include
any HTML here. -->
<short-instructions>
<p>Read the task carefully and inspect the image.</p>
<p>Choose the appropriate label that best suits the image.</p>
</short-instructions>
<!-- Use the full-instructions section for more detailed instructions that the
Worker can open while working on the task. Including more detailed
instructions and additional examples of good and bad answers here can
help get good results. You can include any HTML here. -->
<full-instructions header="Classification Instructions">
<p>Read the task carefully and inspect the image.</p>
<p>Choose the appropriate label that best suits the image.</p>
</full-instructions>
</crowd-image-classifier>
</crowd-form>
【问题讨论】:
标签: mechanicalturk