Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. <!-- You must include this JavaScript file -->
  2. <script src="https://assets.crowd.aws/crowd-html-elements.js"></script>
  3.  
  4. <!-- For the full list of available Crowd HTML Elements and their input/output documentation,
  5. please refer to https://docs.aws.amazon.com/sagemaker/latest/dg/sms-ui-template-reference.html -->
  6.  
  7. <!-- You must include crowd-form so that your task submits answers to MTurk -->
  8. <crowd-form answer-format="flatten-objects">
  9.  
  10. <!-- The crowd-classifier element will create a tool for the Worker to select the
  11. correct answer to your question.
  12.  
  13. Your image file URLs will be substituted for the ${image_url} variable in the
  14. src attribute below when you publish a batch with a CSV input file containing
  15. multiple image file URLs -->
  16. <crowd-image-classifier
  17. src="${image_url}"
  18. categories="['Cat', 'Dog', 'Bird', 'None of the Above']"
  19. header="Choose the correct category"
  20. name="category">
  21.  
  22. <!-- Use the short-instructions section for quick instructions that the Worker
  23. will see while working on the task. Including some basic examples of
  24. good and bad answers here can help get good results. You can include
  25. any HTML here. -->
  26. <short-instructions>
  27. <p>Read the task carefully and inspect the image.</p>
  28. <p>Choose the appropriate label that best suits the image.</p>
  29. </short-instructions>
  30.  
  31. <!-- Use the full-instructions section for more detailed instructions that the
  32. Worker can open while working on the task. Including more detailed
  33. instructions and additional examples of good and bad answers here can
  34. help get good results. You can include any HTML here. -->
  35. <full-instructions header="Classification Instructions">
  36. <p>Read the task carefully and inspect the image.</p>
  37. <p>Choose the appropriate label that best suits the image.</p>
  38. </full-instructions>
  39.  
  40. </crowd-image-classifier>
  41. </crowd-form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement