jcjohnson / simple-amt Goto Github PK
View Code? Open in Web Editor NEWA microframework for working with Amazon's Mechanical Turk
License: MIT License
A microframework for working with Amazon's Mechanical Turk
License: MIT License
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?
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 :(.
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```
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
Sometimes when I successfully launch the hit command, it doesn't appear in the sandbox, how to fix it?
Nevermind. My worker ID just did not have enough requirement for my own HITS. -*-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.