Giter Club home page Giter Club logo

simple-amt's Issues

Cannot Launch HITs Because of a Recent Update of MTurk

The code works perfectly two months ago but now it returns the following error when trying to launch HITs.

<Response><Errors><Error><Code>Forbidden</Code><Message>This Requester API is no longer supported. Please use the latest API using the official AWS SDK. https://aws.amazon.com/getting-started/tools-sdks</Message></Error></Errors><RequestID>72c8dc1b-b5f9-4388-ab1c-2bbcd891796e</RequestID></Response>
MTurkRequestError: 403 Forbidden```

Is Mturk endpoint only in us-east-1?

Hi @jcjohnson ,

Thanks for this cool repo. :)

I want to know if the region that we specify for AMT is fixed for us-east-1. I see that you have the enpoint_url hardcoded for us-east-1.

If I don't mention the region at all, I get:

botocore.exceptions.NoRegionError: You must specify a region

But, if I mention my default region as us-west-1 (using aws configure), I am getting the error as:

An error occurred (InvalidSignatureException) when calling the CreateHIT operation: Credential should be scoped to a valid region, not 'us-west-1'.

Is this the reason that we don't specify region in the config files?

Error running launch_hits example

Hi,

I came over your simple-amt and found it really interesting. I tried to run the launch_hits example

python launch_hits.py \
  --html_template=hit_templates/image_sentence.html \
  --hit_properties_file=hit_properties/image_sentence.json \
  --input_json_file=examples/image_sentence/example_input.txt \
  --hit_ids_file=examples/image_sentence/hit_ids.txt

,however, there is an exception from jinja.

Traceback (most recent call last):
  File "launch_hits.py", line 42, in <module>
    html = template.render(template_params)
  File "~/simple-amt/.env/local/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
    return self.environment.handle_exception(exc_info, True)
  File "~/simple-amt/.env/local/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "./hit_templates/image_sentence.html", line 55, in top-level template code
    {% include "simpleamt.html" %}
  File "~/simple-amt/.env/local/lib/python2.7/site-packages/jinja2/loaders.py", line 178, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: simpleamt.html

Thanks,
Peratham

Example HIT is too hard

500-way classification of an object occluded by a grey box is just really tough, esp. when I'm only earning $0.03 of my own money :(.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.