Home > Programming > Use Amazon-Turk Command-line tool

Use Amazon-Turk Command-line tool

Download:
AMT-CMD tool box
Do svn to get all the src   http://code.google.com/p/cv-web-annotation-toolkit/
Configuration:

  •  Follow instunctions of the UserGuide.html (aws-mturk-clt-1.3.1) to set MTURK_CMD_HOME and JAVA_HOME to point to correct locations.
  •  Also, follow the UserGuide to set up the your-personal-access-key-information in the property file, and pay attention to activate the sanbox server(disable the production server) if you want to give a few try first. I found that I have to change the http to https (of the api address), in order to make it work.

MTURK_CMD_HOME=/your-path-to/aws-mturk-clt-1.3.1
JAVA_HOME=/usr                 (for example)

Configure env.source  in command_line_wrappers
Edit your-path-to-thecvAnotationtool/command_line_wrappers/env.source:
Set CODE_ROOT to point to your-path-to-thecvAnotationtool/command_line_wrappers
Set MTURK_CMD_HOME and JAVA_HOME to point to correct locations
Run bash and do source your-path-to-thecvAnotationtool/command_line_wrappers/env.source (every time you start new shell). Alternatively place it in your .bashrc .

Example 1 — standard AMT –cmd job example  (helloword, best_image, etc)
Follow the UserGuide, down the page, there are several examples, you can simply follow the instruction to run any of them.

Example 2
From the downloaded your-path-to-thecvAnotationtool folder, go to <tasks/attributes_grid>
Do command line run:
../../../command_line_wrappers/MT_run.sh –sandbox

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: