Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- You must include this JavaScript file -->
- <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 in the
- src attribute below when you publish a batch with a CSV input file containing
- multiple image file URLs -->
- <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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement