- Newest
- Most votes
- Most comments
The output.manifest
is usually the final consolidated output file from a SMGT labelling job, while the "PreHumanTaskLambda" function is usually a function called to transform an individual task datum from the input manifest, before it gets mapped into the Liquid HTML template for the task UI.
Therefore (although I'm not super deep on this Comprehend error in particular), I expect it's your second AccessDeniedException
that's actually the root cause - and the missing output.manifest
is just a reflection that the labelling job failed?
I'd suggest to double-check that your AmazonSageMaker-ExecutionRole-...
has permissions to lambda:InvokeFunction
on your given function (I see AmazonSageMakerFullAccess only grants it on a few name patterns including e.g. *SageMaker*
, *LabelingFunction*
) - and that your Lambda's resource-based policy doesn't have any restrictions preventing it being called by SageMaker/Comprehend (I'm not immediately sure which?)
Some other useful resources:
- Add required permissions to use AWS Lambda with Ground Truth (from SM Ground Truth developer guide)
- The structured annotation tools repo on GitHub
(intermediate
outputs are typically created by SM Ground Truth during the job before later consolidation into the output
manifest)
Relevant content
- asked 3 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago